Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001482/0.001482, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001563/0.001563, allocations: 161 kB / 24.56 MB, free: 12 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.039/1.039, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2848/0.2848, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.496e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002842/0.002867, allocations: 2.509 MB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.003839, allocations: 0.8217 MB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.00396, allocations: 4 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.004154, allocations: 59.45 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.004386, allocations: 115.1 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.004607, allocations: 99.8 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.004886, allocations: 370.5 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.005044, allocations: 64.83 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.005305, allocations: 203.6 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.005446, allocations: 115.7 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.005487, allocations: 32 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.005553, allocations: 35.98 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.005599, allocations: 67.73 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.005682, allocations: 103.7 kB / 380.6 MB, free: 76 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.005979, allocations: 247.1 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005983, allocations: 7.984 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.005986, allocations: 3.938 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.005992, allocations: 0 / 380.8 MB, free: 15.82 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.0007326/0.006725, allocations: 0.6517 MB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.006762, allocations: 12.03 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.006919, allocations: 56.7 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.007166, allocations: 215.5 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.007182, allocations: 12.88 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.007212, allocations: 24.38 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.007507, allocations: 205.2 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.007519, allocations: 192 / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.007538, allocations: 8.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.00755, allocations: 11.94 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.007742, allocations: 114.9 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.008665, allocations: 0.7458 MB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.008972, allocations: 215.1 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.0091, allocations: 91.59 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.00913, allocations: 7.938 kB / 383.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.009156, allocations: 37.39 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.009157, allocations: 0 / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.002097/0.01125, allocations: 0.8428 MB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01128, allocations: 55.34 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01145, allocations: 284.3 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01147, allocations: 33.7 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01157, allocations: 220 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.01163, allocations: 111 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.0117, allocations: 59.36 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01182, allocations: 0.5079 MB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.01191, allocations: 47.83 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01201, allocations: 81.09 kB / 385.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.01219, allocations: 137 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01219, allocations: 0 / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007908/0.01298, allocations: 461.5 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01299, allocations: 7.938 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.013, allocations: 0 / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.01426, allocations: 490.2 kB / 386.5 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.01434, allocations: 19.98 kB / 386.5 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004721/0.01906, allocations: 7.79 MB / 394.3 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01916, allocations: 24.09 kB / 394.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01917, allocations: 12 kB / 394.4 MB, free: 1.508 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.0001023/0.01928, allocations: 168.6 kB / 394.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.0196, allocations: 35.81 kB / 394.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007942/0.0204, allocations: 475.7 kB / 395 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0204, allocations: 4 kB / 395 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.0204, allocations: 0 / 395 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02041, allocations: 3.984 kB / 395 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.02063, allocations: 244.4 kB / 395.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.02063, allocations: 3.938 kB / 395.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.02068, allocations: 15.98 kB / 395.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.02184, allocations: 478.2 kB / 395.8 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.02185, allocations: 7.938 kB / 395.8 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/0.02628, allocations: 7.849 MB / 403.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02629, allocations: 0 / 403.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.02708, allocations: 0.5877 MB / 404.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.02711, allocations: 27.75 kB / 404.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.02713, allocations: 11.94 kB / 404.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.02721, allocations: 11.98 kB / 404.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.0273, allocations: 31.94 kB / 404.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.02731, allocations: 8 kB / 404.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.02741, allocations: 201.1 kB / 404.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02741, allocations: 3.938 kB / 404.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.02779, allocations: 119.9 kB / 404.6 MB, free: 6.641 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.0001068/0.02789, allocations: 95.25 kB / 404.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.02856, allocations: 0.8931 MB / 405.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.02856, allocations: 0 / 405.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.0292, allocations: 0.9209 MB / 406.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.02943, allocations: 24.48 kB / 406.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.03029, allocations: 0.5336 MB / 407.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.03036, allocations: 104.6 kB / 407.2 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.773e-05/0.0304, allocations: 5.969 kB / 407.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.03043, allocations: 16.5 kB / 407.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03043, allocations: 0 / 407.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of Templates: time 0.01051/0.04094, allocations: 8.848 MB / 416.1 MB, free: 11.04 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/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.719599670730531]