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.001179/0.001179, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001378/0.001378, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 0.9653/0.9653, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1492/0.1492, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] 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 2.505e-06/2.505e-06, allocations: 0 / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.678e-05, allocations: 10.25 kB / 347.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002736/0.002773, allocations: 2.415 MB / 350.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004008, allocations: 0.7992 MB / 350.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.004193, allocations: 4 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.004415, allocations: 47.52 kB / 350.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.004671, allocations: 103.2 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.004932, allocations: 107.7 kB / 351.1 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.005245, allocations: 350.6 kB / 351.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.005411, allocations: 60.89 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.005675, allocations: 199.6 kB / 351.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.005811, allocations: 119.6 kB / 351.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.005855, allocations: 32 kB / 351.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.005881, allocations: 28 kB / 351.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.00592, allocations: 59.81 kB / 352 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.005988, allocations: 99.73 kB / 352.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006232, allocations: 239.1 kB / 352.3 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006236, allocations: 4 kB / 352.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006238, allocations: 0 / 352.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.006247, allocations: 0 / 352.3 MB, free: 5.141 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.0007046/0.006951, allocations: 0.64 MB / 352.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.006997, allocations: 11.97 kB / 352.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.506e-05/0.007092, allocations: 56.7 kB / 353 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.007336, allocations: 204.1 kB / 353.2 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.007355, allocations: 16.88 kB / 353.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.00738, allocations: 28.36 kB / 353.2 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.007686, allocations: 197.3 kB / 353.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.007697, allocations: 8.125 kB / 353.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.007719, allocations: 8.375 kB / 353.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.007732, allocations: 11.94 kB / 353.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.007907, allocations: 114.9 kB / 353.6 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.008837, allocations: 0.7496 MB / 354.3 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.009122, allocations: 199.1 kB / 354.5 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.009239, allocations: 87.66 kB / 354.6 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.009266, allocations: 11.98 kB / 354.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.009286, allocations: 37.33 kB / 354.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.552e-06/0.009288, allocations: 0 / 354.6 MB, free: 2.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001969/0.01126, allocations: 0.8279 MB / 355.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.01129, allocations: 59.34 kB / 355.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.01144, allocations: 268.3 kB / 355.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.01146, allocations: 29.7 kB / 355.8 MB, free: 1.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.01153, allocations: 216 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.01157, allocations: 111 kB / 356.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.01163, allocations: 59.36 kB / 356.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.01169, allocations: 0.5079 MB / 356.7 MB, free: 496 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.01177, allocations: 47.91 kB / 356.8 MB, free: 448 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/0.01186, allocations: 87.33 kB / 356.8 MB, free: 352 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.01203, allocations: 141 kB / 357 MB, free: 204 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01203, allocations: 0 / 357 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008155/0.01284, allocations: 456.8 kB / 357.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.01287, allocations: 7.938 kB / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01288, allocations: 3.984 kB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.01423, allocations: 466.3 kB / 357.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01433, allocations: 27.98 kB / 357.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.0195, allocations: 7.773 MB / 365.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.0196, allocations: 39.83 kB / 365.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01962, allocations: 8 kB / 365.7 MB, free: 6.895 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.0001197/0.01974, allocations: 164.6 kB / 365.9 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.01978, allocations: 31.86 kB / 365.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.02057, allocations: 466.9 kB / 366.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02057, allocations: 4 kB / 366.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02057, allocations: 0 / 366.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02058, allocations: 3.984 kB / 366.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.02081, allocations: 248.3 kB / 366.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02082, allocations: 0 / 366.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.02087, allocations: 15.98 kB / 366.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.02205, allocations: 474.3 kB / 367.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.02207, allocations: 11.94 kB / 367.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004682/0.02675, allocations: 7.829 MB / 375 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02675, allocations: 0 / 375 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.02755, allocations: 0.5838 MB / 375.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.02757, allocations: 27.78 kB / 375.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.02759, allocations: 11.77 kB / 375.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.02766, allocations: 8 kB / 375.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.02778, allocations: 35.94 kB / 375.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.02779, allocations: 4 kB / 375.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.0279, allocations: 193.1 kB / 375.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0279, allocations: 4 kB / 375.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.02827, allocations: 119.9 kB / 375.9 MB, free: 12.08 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.0001148/0.02839, allocations: 99.19 kB / 376 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.02909, allocations: 0.8937 MB / 376.9 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0291, allocations: 0 / 376.9 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.02985, allocations: 0.9131 MB / 377.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.03012, allocations: 24.67 kB / 377.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.03106, allocations: 0.511 MB / 378.4 MB, free: 9.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.03117, allocations: 100.6 kB / 378.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.03122, allocations: 9.969 kB / 378.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.03126, allocations: 12.5 kB / 378.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of SimCode: time 1.964e-06/0.03126, allocations: 0 / 378.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of Templates: time 0.01083/0.0421, allocations: 8.789 MB / 387.3 MB, free: 0.5547 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6866024581249803]