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.002693/0.002693, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002913/0.002913, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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.397/1.397, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.2253/0.2253, allocations: 32.37 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.553e-06/1.553e-06, allocations: 3.938 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.069e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00303/0.00306, allocations: 2.381 MB / 349.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.00428, allocations: 0.7838 MB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004433, allocations: 7.938 kB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.004661, allocations: 55.5 kB / 350.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.004895, allocations: 107.1 kB / 350.3 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.005154, allocations: 91.86 kB / 350.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.005453, allocations: 359.6 kB / 350.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.005639, allocations: 64.83 kB / 350.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.005942, allocations: 203.5 kB / 351 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.006157, allocations: 111.7 kB / 351.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.00622, allocations: 32 kB / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.006279, allocations: 28 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.006357, allocations: 67.73 kB / 351.2 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.006474, allocations: 103.7 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.006829, allocations: 366.8 kB / 351.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.006834, allocations: 0 / 351.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006835, allocations: 8 kB / 351.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.006843, allocations: 0 / 351.7 MB, free: 5.062 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.001099/0.007942, allocations: 0.6554 MB / 352.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.008004, allocations: 12.03 kB / 352.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.008115, allocations: 56.7 kB / 352.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.008408, allocations: 204 kB / 352.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.008429, allocations: 20.88 kB / 352.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.008463, allocations: 24.38 kB / 352.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.008854, allocations: 232.6 kB / 352.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.008868, allocations: 192 / 352.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.008895, allocations: 12.38 kB / 352.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.008902, allocations: 15.88 kB / 352.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.009295, allocations: 217.9 kB / 353.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.0105, allocations: 0.8356 MB / 353.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.01095, allocations: 300.6 kB / 354.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.01116, allocations: 131.6 kB / 354.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.01121, allocations: 4 kB / 354.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.01123, allocations: 45.39 kB / 354.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.01124, allocations: 0 / 354.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.004054/0.01529, allocations: 0.9652 MB / 355.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.01532, allocations: 63.28 kB / 355.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01553, allocations: 300.3 kB / 355.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.01555, allocations: 37.7 kB / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.01563, allocations: 223.4 kB / 356 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.01569, allocations: 115 kB / 356.1 MB, free: 436 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.01577, allocations: 59.36 kB / 356.1 MB, free: 368 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01598, allocations: 0.5157 MB / 356.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.01618, allocations: 83.97 kB / 356.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.01644, allocations: 135.3 kB / 356.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.0169, allocations: 217 kB / 357.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0169, allocations: 4 kB / 357.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00194/0.01884, allocations: 0.5592 MB / 357.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.01887, allocations: 7.938 kB / 357.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01888, allocations: 0 / 357.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002927/0.0218, allocations: 0.4945 MB / 358.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.02199, allocations: 31.86 kB / 358.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.0327, allocations: 8.423 MB / 366.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.03296, allocations: 23.83 kB / 366.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.03298, allocations: 12 kB / 366.6 MB, free: 5.297 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.0005765/0.03356, allocations: 188.5 kB / 366.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.03364, allocations: 35.84 kB / 366.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.03561, allocations: 0.5575 MB / 367.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.03562, allocations: 192 / 367.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.03563, allocations: 8 kB / 367.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.03563, allocations: 3.984 kB / 367.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.03623, allocations: 284.4 kB / 367.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.03624, allocations: 0 / 367.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.03635, allocations: 15.98 kB / 367.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/0.0391, allocations: 0.4944 MB / 368.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.03912, allocations: 7.938 kB / 368.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.04988, allocations: 8.494 MB / 376.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.04988, allocations: 3.938 kB / 376.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.05196, allocations: 0.6854 MB / 377.4 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.05202, allocations: 23.8 kB / 377.4 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.05206, allocations: 11.94 kB / 377.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.05224, allocations: 11.98 kB / 377.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.05241, allocations: 31.94 kB / 377.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.05243, allocations: 8 kB / 377.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.05272, allocations: 213.1 kB / 377.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05272, allocations: 0 / 377.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005897/0.05331, allocations: 119.9 kB / 377.8 MB, free: 9.496 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.0001524/0.05347, allocations: 95.25 kB / 377.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.05496, allocations: 0.9834 MB / 378.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.05496, allocations: 0 / 378.9 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.05661, allocations: 0.9756 MB / 379.9 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.05698, allocations: 24.48 kB / 379.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.05828, allocations: 0.541 MB / 380.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.0585, allocations: 163.2 kB / 380.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.059e-05/0.05856, allocations: 13.95 kB / 380.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.05861, allocations: 12.5 kB / 380.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.05861, allocations: 0 / 380.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of Templates: time 0.01978/0.07839, allocations: 8.769 MB / 389.4 MB, free: 13.75 MB / 330.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] 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.511278157006018]