Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002712/0.002712, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.388/0.388, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.859e-06, allocations: 4 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.742e-05, allocations: 2.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004204/0.004242, allocations: 2.369 MB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.005844, allocations: 0.7866 MB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.00597, allocations: 4 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.006209, allocations: 59.5 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.006549, allocations: 115.1 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.00684, allocations: 103.8 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.007563, allocations: 358.6 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.007749, allocations: 64.75 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.008144, allocations: 215.5 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.008358, allocations: 115.6 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.00842, allocations: 36 kB / 381.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.008505, allocations: 32 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.008579, allocations: 67.75 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.008717, allocations: 103.7 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.009229, allocations: 390.7 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.009233, allocations: 3.938 kB / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009235, allocations: 0 / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.009241, allocations: 0 / 382.1 MB, free: 14.15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00124/0.01048, allocations: 0.5518 MB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.01053, allocations: 12.03 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.01074, allocations: 68.69 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.01116, allocations: 204.7 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.01119, allocations: 16.88 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.01125, allocations: 28.36 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.01182, allocations: 252.5 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01183, allocations: 192 / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.01187, allocations: 8.375 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.01188, allocations: 11.94 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.01246, allocations: 229.9 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.01402, allocations: 0.7466 MB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/0.01463, allocations: 274.7 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.01495, allocations: 136.7 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.01498, allocations: 4 kB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.01503, allocations: 38.56 kB / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.202e-06/0.01503, allocations: 0 / 384.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.004991/0.02002, allocations: 0.9766 MB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.02008, allocations: 63.34 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.02038, allocations: 234.4 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.02041, allocations: 29.7 kB / 385.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.02056, allocations: 164.7 kB / 386.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.02067, allocations: 103.1 kB / 386.2 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.02078, allocations: 53.66 kB / 386.2 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.02099, allocations: 338.8 kB / 386.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.02125, allocations: 95.94 kB / 386.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.02152, allocations: 119.4 kB / 386.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.02205, allocations: 231.3 kB / 387 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02205, allocations: 0 / 387 MB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002036/0.02408, allocations: 0.5529 MB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.02411, allocations: 17.75 kB / 387.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.02411, allocations: 0 / 387.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.02714, allocations: 494.9 kB / 388 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.02731, allocations: 23.98 kB / 388.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/0.03636, allocations: 6.308 MB / 394.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.03661, allocations: 27.88 kB / 394.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.03664, allocations: 20.11 kB / 394.4 MB, free: 1.137 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.03685, allocations: 133.8 kB / 394.6 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.03693, allocations: 39.81 kB / 394.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.03899, allocations: 0.5501 MB / 395.1 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.039, allocations: 0 / 395.1 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.039, allocations: 0 / 395.1 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.039, allocations: 4 kB / 395.1 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.03967, allocations: 245.1 kB / 395.4 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03967, allocations: 0 / 395.4 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.03979, allocations: 15.98 kB / 395.4 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/0.04264, allocations: 490.9 kB / 395.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.04267, allocations: 7.938 kB / 395.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/0.05161, allocations: 6.377 MB / 402.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.05161, allocations: 4 kB / 402.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.05392, allocations: 0.6245 MB / 402.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.05398, allocations: 27.78 kB / 402.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.05401, allocations: 15.89 kB / 402.9 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.05421, allocations: 15.98 kB / 403 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.05434, allocations: 27.94 kB / 403 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.05436, allocations: 12 kB / 403 MB, free: 8.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.05457, allocations: 169.2 kB / 403.2 MB, free: 7.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05457, allocations: 3.938 kB / 403.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006034/0.05517, allocations: 123.9 kB / 403.3 MB, free: 7.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.05533, allocations: 95.25 kB / 403.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.05666, allocations: 0.7521 MB / 404.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.05666, allocations: 0 / 404.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.05809, allocations: 0.7207 MB / 404.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.05843, allocations: 24.48 kB / 404.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.05961, allocations: 0.5516 MB / 405.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.05982, allocations: 171.8 kB / 405.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.05988, allocations: 5.969 kB / 405.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.05992, allocations: 12.5 kB / 405.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.05992, allocations: 0 / 405.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of Templates: time 0.01653/0.07645, allocations: 8.414 MB / 414 MB, free: 12.92 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.446581991040148]