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.001304/0.001304, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001533/0.001533, allocations: 169.7 kB / 24.82 MB, free: 9.254 MB / 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.078/1.078, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2591/0.2591, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] 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 2.014e-06/2.014e-06, allocations: 0 / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.077e-05, allocations: 2.312 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002759/0.00279, allocations: 2.49 MB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00427, allocations: 0.8139 MB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.004431, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.004608, allocations: 51.52 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.004835, allocations: 119 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.005068, allocations: 99.86 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.005332, allocations: 366.6 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.005477, allocations: 64.83 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.005743, allocations: 207.5 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.005866, allocations: 123.7 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.005903, allocations: 28 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.005977, allocations: 35.98 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.006017, allocations: 67.75 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.00609, allocations: 107.7 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.006336, allocations: 243.1 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006339, allocations: 0 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006339, allocations: 0 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.006343, allocations: 0 / 383.3 MB, free: 13.61 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.0007985/0.007142, allocations: 0.6595 MB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.007196, allocations: 8.031 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.00739, allocations: 64.69 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.007675, allocations: 215.5 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.007699, allocations: 20.88 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.007726, allocations: 24.38 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.008014, allocations: 173.3 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.008026, allocations: 192 / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.008046, allocations: 12.38 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.008056, allocations: 15.88 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.008177, allocations: 91.34 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.009022, allocations: 0.7034 MB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.009278, allocations: 185.6 kB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.009382, allocations: 79.62 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.009415, allocations: 4 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.009449, allocations: 41.39 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.009451, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.00209/0.01154, allocations: 0.8075 MB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.01158, allocations: 55.41 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.01179, allocations: 284.1 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01181, allocations: 37.69 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01195, allocations: 216 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.01202, allocations: 115 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.01209, allocations: 51.34 kB / 387.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01224, allocations: 0.5157 MB / 387.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.0123, allocations: 39.83 kB / 387.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.01237, allocations: 69.08 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.01252, allocations: 121 kB / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01252, allocations: 0 / 387.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007427/0.01326, allocations: 429.5 kB / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01328, allocations: 5.562 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01328, allocations: 7.969 kB / 388.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.01447, allocations: 474.2 kB / 388.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.01455, allocations: 23.92 kB / 388.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.01966, allocations: 7.631 MB / 396.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01978, allocations: 27.84 kB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.0198, allocations: 11.98 kB / 396.4 MB, free: 15.72 MB / 378.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.0001225/0.01992, allocations: 180.5 kB / 396.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.01998, allocations: 39.81 kB / 396.6 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.02088, allocations: 435.8 kB / 397.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.02088, allocations: 4 kB / 397.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.02088, allocations: 0 / 397.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.02089, allocations: 7.984 kB / 397.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.02115, allocations: 209 kB / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02116, allocations: 0 / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.02121, allocations: 15.98 kB / 397.3 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.02263, allocations: 466.2 kB / 397.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.02265, allocations: 12 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.02753, allocations: 7.692 MB / 405.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.02753, allocations: 3.984 kB / 405.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.02845, allocations: 0.5643 MB / 406 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.02848, allocations: 31.73 kB / 406.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.0285, allocations: 7.938 kB / 406.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.02861, allocations: 11.98 kB / 406.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.0287, allocations: 31.94 kB / 406.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.02871, allocations: 8 kB / 406.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.02882, allocations: 189.1 kB / 406.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02882, allocations: 0 / 406.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.02927, allocations: 127.9 kB / 406.4 MB, free: 5.145 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.0001119/0.02938, allocations: 103.2 kB / 406.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006491/0.03003, allocations: 0.8618 MB / 407.4 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03003, allocations: 4.062 kB / 407.4 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.03077, allocations: 0.9091 MB / 408.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.03105, allocations: 24.44 kB / 408.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.03194, allocations: 0.5364 MB / 408.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.03202, allocations: 100.6 kB / 409 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.03207, allocations: 13.95 kB / 409 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.03214, allocations: 82.2 kB / 409.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03214, allocations: 0 / 409.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of Templates: time 0.01245/0.0446, allocations: 9.213 MB / 418.3 MB, free: 9.125 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 240] 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","",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.618768027983606]