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.001391/0.001391, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001499/0.001499, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.2464/0.2464, allocations: 46.97 MB / 360.9 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002016/0.002016, allocations: 63.91 kB / 0.4966 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 66.03 MB / 0.5611 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00287/0.3712, allocations: 1.881 MB / 0.5629 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.3721, allocations: 0.5619 MB / 0.5634 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.3722, allocations: 0 / 0.5634 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.3724, allocations: 40.38 kB / 0.5635 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3725, allocations: 29.5 kB / 0.5635 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3726, allocations: 55.09 kB / 0.5636 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3727, allocations: 150.6 kB / 0.5637 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3729, allocations: 48.23 kB / 0.5638 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.373, allocations: 60.48 kB / 0.5638 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.373, allocations: 61.17 kB / 0.5639 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3731, allocations: 12.75 kB / 0.5639 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.3731, allocations: 15.44 kB / 0.5639 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.3731, allocations: 34.88 kB / 0.5639 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.3732, allocations: 53.73 kB / 0.564 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3733, allocations: 162.3 kB / 0.5641 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3733, allocations: 1.938 kB / 0.5641 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3733, allocations: 0 / 0.5641 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3733, allocations: 0 / 0.5641 GB, free: 31.62 MB / 446.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.0005428/0.3739, allocations: 371.9 kB / 0.5645 GB, free: 31.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3739, allocations: 9.156 kB / 0.5645 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.374, allocations: 25.66 kB / 0.5645 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3742, allocations: 146.9 kB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3742, allocations: 10.62 kB / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3742, allocations: 13.09 kB / 0.5647 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.3745, allocations: 146.1 kB / 0.5648 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3745, allocations: 0 / 0.5648 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3745, allocations: 4.625 kB / 0.5648 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3745, allocations: 5.312 kB / 0.5648 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.3748, allocations: 104.1 kB / 0.5649 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.3756, allocations: 0.5154 MB / 0.5654 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3758, allocations: 65.55 kB / 0.5655 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.3759, allocations: 26.41 kB / 0.5655 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3759, allocations: 0 / 0.5655 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3759, allocations: 35.3 kB / 0.5656 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3759, allocations: 1.719 kB / 0.5656 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003529/0.3763, allocations: 112.1 kB / 0.5657 GB, free: 30.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3763, allocations: 52.16 kB / 0.5657 GB, free: 30.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.3764, allocations: 154.8 kB / 0.5659 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3764, allocations: 26.33 kB / 0.5659 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.3765, allocations: 139.5 kB / 0.566 GB, free: 30.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.3765, allocations: 27.61 kB / 0.5661 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.3765, allocations: 23.78 kB / 0.5661 GB, free: 30.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.3766, allocations: 324.9 kB / 0.5664 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.3767, allocations: 35.78 kB / 0.5664 GB, free: 29.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.3768, allocations: 60.25 kB / 0.5665 GB, free: 29.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3769, allocations: 96.91 kB / 0.5666 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3769, allocations: 0 / 0.5666 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002375/0.3772, allocations: 126.9 kB / 0.5667 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3772, allocations: 6.219 kB / 0.5667 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3772, allocations: 0 / 0.5667 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3772, allocations: 3.062 kB / 0.5667 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3773, allocations: 31.14 kB / 0.5667 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3773, allocations: 3.344 kB / 0.5667 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/0.3774, allocations: 13.16 kB / 0.5667 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3774, allocations: 7 kB / 0.5668 GB, free: 29.57 MB / 446.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 6.493e-05/0.3775, allocations: 119.9 kB / 0.5669 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3775, allocations: 13.97 kB / 0.5669 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3776, allocations: 14.53 kB / 0.5669 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3776, allocations: 0 / 0.5669 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3776, allocations: 0 / 0.5669 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3776, allocations: 1.75 kB / 0.5669 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3777, allocations: 151.7 kB / 0.567 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3777, allocations: 4 kB / 0.567 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.3778, allocations: 19.39 kB / 0.5671 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3778, allocations: 4.125 kB / 0.5671 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3778, allocations: 3.375 kB / 0.5671 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3778, allocations: 0 / 0.5671 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3778, allocations: 0 / 0.5671 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3781, allocations: 185.9 kB / 0.5672 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3781, allocations: 10.28 kB / 0.5673 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3781, allocations: 0 / 0.5673 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.3782, allocations: 9.328 kB / 0.5673 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3783, allocations: 0 / 0.5673 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3783, allocations: 11.03 kB / 0.5673 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.3783, allocations: 115.8 kB / 0.5674 GB, free: 29.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3783, allocations: 2.969 kB / 0.5674 GB, free: 29.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3786, allocations: 26.64 kB / 0.5674 GB, free: 29.01 MB / 446.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 7.098e-05/0.3786, allocations: 103 kB / 0.5675 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3789, allocations: 67.34 kB / 0.5676 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3789, allocations: 256 / 0.5676 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.379, allocations: 31.5 kB / 0.5676 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3792, allocations: 14.33 kB / 0.5676 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.3797, allocations: 263.9 kB / 0.5679 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.3798, allocations: 96.23 kB / 0.568 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.31e-05/0.3799, allocations: 4.844 kB / 0.568 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3799, allocations: 11.11 kB / 0.568 GB, free: 28.61 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3799, allocations: 0 / 0.568 GB, free: 28.61 MB / 446.1 MB Notification: Performance of Templates: time 0.003708/0.3836, allocations: 0.8194 MB / 0.5688 GB, free: 28.49 MB / 446.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.329267942812294]