Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001321/0.001321, allocations: 96.2 kB / 20.21 MB, free: 4.191 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.001666/0.001666, allocations: 157.3 kB / 23.51 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 158.6 MB / 185.3 MB, free: 2.871 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2466/0.2466, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.902e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002713/0.002742, allocations: 2.264 MB / 349.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003796, allocations: 0.7681 MB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.003921, allocations: 4 kB / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.004105, allocations: 59.45 kB / 350 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.00433, allocations: 107.2 kB / 350.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.004543, allocations: 91.86 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.004799, allocations: 355.6 kB / 350.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.004942, allocations: 72.77 kB / 350.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.005154, allocations: 195.6 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.005298, allocations: 115.7 kB / 350.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.005344, allocations: 28 kB / 351 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.801e-05/0.005382, allocations: 28 kB / 351 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.005425, allocations: 71.73 kB / 351.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.005505, allocations: 99.73 kB / 351.2 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.005838, allocations: 370.8 kB / 351.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005842, allocations: 4 kB / 351.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005843, allocations: 0 / 351.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005849, allocations: 0 / 351.5 MB, free: 5.191 MB / 282.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.0009937/0.006843, allocations: 0.5402 MB / 352.1 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.006888, allocations: 12.02 kB / 352.1 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.006986, allocations: 56.7 kB / 352.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.007334, allocations: 201.2 kB / 352.3 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.007356, allocations: 20.88 kB / 352.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.007394, allocations: 24.38 kB / 352.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.007831, allocations: 244.6 kB / 352.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.007841, allocations: 4.125 kB / 352.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.007869, allocations: 12.38 kB / 352.6 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.007876, allocations: 7.938 kB / 352.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.008305, allocations: 237.8 kB / 352.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.009414, allocations: 0.7348 MB / 353.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.009855, allocations: 288.2 kB / 353.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.01008, allocations: 120.8 kB / 354 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.01011, allocations: 8 kB / 354 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.01015, allocations: 34.56 kB / 354 MB, free: 2.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.132e-06/0.01015, allocations: 4 kB / 354 MB, free: 2.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.004137/0.01429, allocations: 0.9683 MB / 355 MB, free: 1.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.01431, allocations: 55.34 kB / 355.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01448, allocations: 222.3 kB / 355.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.0145, allocations: 29.7 kB / 355.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.01457, allocations: 168.7 kB / 355.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.01462, allocations: 103.1 kB / 355.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.01469, allocations: 57.66 kB / 355.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.01475, allocations: 330.8 kB / 356 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.01494, allocations: 95.95 kB / 356.1 MB, free: 480 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01513, allocations: 125.7 kB / 356.2 MB, free: 348 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.01551, allocations: 231.3 kB / 356.4 MB, free: 112 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01551, allocations: 4 kB / 356.4 MB, free: 108 kB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001926/0.01743, allocations: 0.5365 MB / 356.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.01746, allocations: 11.92 kB / 357 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.01747, allocations: 7.938 kB / 357 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.02038, allocations: 483 kB / 357.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.02055, allocations: 23.97 kB / 357.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00891/0.02946, allocations: 6.299 MB / 363.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.02972, allocations: 23.88 kB / 363.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.02974, allocations: 4 kB / 363.8 MB, free: 8.281 MB / 298.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.0002291/0.02997, allocations: 145.8 kB / 363.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.03006, allocations: 43.88 kB / 364 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.03203, allocations: 0.5384 MB / 364.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.03204, allocations: 4 kB / 364.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.03204, allocations: 0 / 364.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.03204, allocations: 192 / 364.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.03244, allocations: 257.1 kB / 364.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03244, allocations: 0 / 364.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.03257, allocations: 19.98 kB / 364.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.0354, allocations: 479 kB / 365.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.03543, allocations: 15.92 kB / 365.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009167/0.0446, allocations: 6.353 MB / 371.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0446, allocations: 3.938 kB / 371.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.04668, allocations: 0.6245 MB / 372.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.04674, allocations: 31.78 kB / 372.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.04677, allocations: 7.938 kB / 372.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.04699, allocations: 8 kB / 372.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.04712, allocations: 35.92 kB / 372.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.04715, allocations: 8 kB / 372.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.04733, allocations: 157.2 kB / 372.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04733, allocations: 0 / 372.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005641/0.04789, allocations: 123.8 kB / 372.6 MB, free: 14.94 MB / 314.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.0001428/0.04804, allocations: 107.2 kB / 372.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.04931, allocations: 0.7405 MB / 373.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.04931, allocations: 4 kB / 373.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.05078, allocations: 0.7129 MB / 374.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.05112, allocations: 24.48 kB / 374.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.05224, allocations: 0.5382 MB / 374.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.05244, allocations: 163.2 kB / 374.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.0525, allocations: 9.953 kB / 374.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.05254, allocations: 12.5 kB / 374.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.05254, allocations: 0 / 374.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of Templates: time 0.01647/0.06901, allocations: 8.362 MB / 383.3 MB, free: 4.145 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.508877651067451]