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.001405/0.001405, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001416/0.001416, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.591/1.591, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.256/0.256, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 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 1.393e-06/1.393e-06, allocations: 3.938 kB / 442.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.268e-05, allocations: 6.281 kB / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00333/0.003362, allocations: 1.895 MB / 444.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.004399, allocations: 0.5608 MB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.004486, allocations: 4 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.004669, allocations: 39.66 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.004806, allocations: 39.64 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004979, allocations: 43.94 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.005193, allocations: 151.4 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.005325, allocations: 37.78 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.005471, allocations: 87.8 kB / 445.5 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.005567, allocations: 47.88 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.005601, allocations: 12 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-05/0.005627, allocations: 16 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.005673, allocations: 31.84 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.005744, allocations: 51.89 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.005987, allocations: 155.5 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005991, allocations: 4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005992, allocations: 0 / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005996, allocations: 0 / 445.8 MB, free: 2.238 MB / 366.1 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.0006933/0.00669, allocations: 369.9 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.00673, allocations: 12.03 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.006785, allocations: 16.84 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.007026, allocations: 156.7 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.007047, allocations: 16.58 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.007072, allocations: 12.38 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.007413, allocations: 136.4 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.007425, allocations: 192 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007443, allocations: 4.375 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.007453, allocations: 7.938 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.007759, allocations: 108.8 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.008762, allocations: 0.5094 MB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.009039, allocations: 70.52 kB / 447.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.00915, allocations: 29 kB / 447.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.009172, allocations: 8 kB / 447.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.009206, allocations: 30.56 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.009207, allocations: 0 / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004338/0.009641, allocations: 109.5 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.009693, allocations: 55.41 kB / 447.4 MB, free: 472 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.00985, allocations: 144.4 kB / 447.6 MB, free: 320 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.009874, allocations: 29.7 kB / 447.6 MB, free: 284 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.009975, allocations: 135.7 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.01001, allocations: 23.78 kB / 447.8 MB, free: 120 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.01007, allocations: 25.72 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1867/0.1968, allocations: 326.6 kB / 448.1 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.197, allocations: 23.78 kB / 448.1 MB, free: 19.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1971, allocations: 61.55 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.1973, allocations: 96.66 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1973, allocations: 0 / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000321/0.1977, allocations: 128.5 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1977, allocations: 6.156 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1977, allocations: 1.219 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1977, allocations: 4.734 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1979, allocations: 28.97 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1979, allocations: 2.562 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.198, allocations: 14.38 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.198, allocations: 3.438 kB / 448.5 MB, free: 18.99 MB / 366.1 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 9.203e-05/0.1981, allocations: 127.2 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.1981, allocations: 13.55 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.1981, allocations: 12.28 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1981, allocations: 0 / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1982, allocations: 5.344 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1982, allocations: 0.75 kB / 448.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1983, allocations: 141.4 kB / 448.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1983, allocations: 5.094 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.1984, allocations: 15.7 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1984, allocations: 0 / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1984, allocations: 4.719 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1984, allocations: 1.797 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1984, allocations: 2.266 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1987, allocations: 189.4 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1987, allocations: 6.828 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1987, allocations: 1.812 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.1988, allocations: 6.75 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1988, allocations: 7.438 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1989, allocations: 9.672 kB / 449 MB, free: 18.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.1989, allocations: 107.7 kB / 449.1 MB, free: 18.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1989, allocations: 0 / 449.1 MB, free: 18.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1992, allocations: 37.12 kB / 449.2 MB, free: 18.53 MB / 366.1 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 9.101e-05/0.1993, allocations: 91.17 kB / 449.2 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1995, allocations: 71.02 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1995, allocations: 3.875 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.1996, allocations: 29.84 kB / 449.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1999, allocations: 6.828 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.2004, allocations: 251.7 kB / 449.6 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.2005, allocations: 98.84 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.2006, allocations: 5.953 kB / 449.7 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.2006, allocations: 10.94 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2006, allocations: 1.031 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003781/0.2044, allocations: 0.6751 MB / 450.4 MB, free: 18.12 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.02067095041275]