Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.00117/0.00117, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001077/0.001077, allocations: 170.3 kB / 25.6 MB, free: 8.582 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 0.9513/0.9513, allocations: 177.2 MB / 206.1 MB, free: 4.465 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.1408/0.1408, allocations: 34.25 MB / 296.9 MB, free: 13.92 MB / 282.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.984 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.924e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003458/0.003477, allocations: 1.957 MB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.004514, allocations: 0.5841 MB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.004651, allocations: 3.938 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.004836, allocations: 27.8 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.004978, allocations: 35.64 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.005159, allocations: 47.92 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.005346, allocations: 163.4 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005481, allocations: 37.78 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.00564, allocations: 87.84 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.005724, allocations: 47.88 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.005753, allocations: 15.94 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.005772, allocations: 16 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.005802, allocations: 31.84 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.005847, allocations: 39.92 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.006008, allocations: 111.6 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006011, allocations: 0 / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006012, allocations: 0 / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.006016, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004324/0.006449, allocations: 472.2 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.006484, allocations: 12.02 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.006529, allocations: 24.84 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.006672, allocations: 144.4 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006686, allocations: 12.66 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.006703, allocations: 12.38 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006856, allocations: 113.1 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006864, allocations: 192 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.006874, allocations: 4.375 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.006879, allocations: 7.938 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.006928, allocations: 33.66 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.007376, allocations: 0.5671 MB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.007465, allocations: 47.02 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.007484, allocations: 15.72 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.0075, allocations: 128 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.007515, allocations: 45.39 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.007516, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001192/0.007635, allocations: 57.64 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.007651, allocations: 51.41 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.007711, allocations: 203.7 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.007716, allocations: 25.7 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.007761, allocations: 186.4 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.007769, allocations: 19.83 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.0078, allocations: 39.31 kB / 384.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.007856, allocations: 0.4922 MB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.007869, allocations: 12 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.007899, allocations: 58.34 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.007948, allocations: 66.36 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007951, allocations: 4 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.078e-05/0.008032, allocations: 89.48 kB / 385.2 MB, free: 17.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.008042, allocations: 8 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.008047, allocations: 4.375 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.008056, allocations: 4 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.008114, allocations: 23.98 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008118, allocations: 4 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.008155, allocations: 15.89 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.00816, allocations: 7.938 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.008209, allocations: 160.5 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.008227, allocations: 11.95 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.008248, allocations: 12.45 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00825, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008252, allocations: 0 / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008255, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.322e-05/0.008338, allocations: 121.2 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008339, allocations: 3.938 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.008367, allocations: 11.98 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.008368, allocations: 0 / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.008373, allocations: 4 kB / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.008374, allocations: 0 / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.008374, allocations: 0 / 385.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.145e-05/0.008466, allocations: 203.8 kB / 385.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.008477, allocations: 11.89 kB / 385.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.008487, allocations: 3.984 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.008523, allocations: 8 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.008553, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.008556, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.00859, allocations: 146.1 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00859, allocations: 0 / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.008748, allocations: 35.83 kB / 386 MB, free: 16.32 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.186e-05/0.0088, allocations: 91.25 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.398e-05/0.008864, allocations: 43.61 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008866, allocations: 4 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.008883, allocations: 19.61 kB / 386.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.00904, allocations: 15.94 kB / 386.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.009319, allocations: 253.3 kB / 386.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.009353, allocations: 71.14 kB / 386.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.009382, allocations: 4 kB / 386.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.009422, allocations: 74.19 kB / 386.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009422, allocations: 4 kB / 386.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.002334/0.01176, allocations: 0.7551 MB / 387.4 MB, free: 14.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.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.2550347223877907]