Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 209.7 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.2 MB / 256.7 MB, free: 8.656 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.9 MB / 359.9 MB, free: 4.977 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 76.06 kB / 0.495 GB, free: 8.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3477, allocations: 65.99 MB / 0.5594 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00423/0.3519, allocations: 1.932 MB / 0.5613 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3533, allocations: 0.6115 MB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3535, allocations: 0 / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.3537, allocations: 35.72 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.3539, allocations: 35.7 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3541, allocations: 47.88 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.3544, allocations: 143.5 kB / 0.5621 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.3546, allocations: 61.16 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3547, allocations: 55.8 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3548, allocations: 63.7 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3549, allocations: 12 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.253e-05/0.3549, allocations: 16 kB / 0.5623 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.355, allocations: 31.91 kB / 0.5624 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.355, allocations: 63.67 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3553, allocations: 158 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3553, allocations: 4 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3553, allocations: 0 / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3553, allocations: 0 / 0.5626 GB, free: 1.918 MB / 398.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.000872/0.3562, allocations: 459 kB / 0.563 GB, free: 1.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3563, allocations: 8.031 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.3563, allocations: 16.84 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.3567, allocations: 208.1 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3567, allocations: 12.59 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3567, allocations: 12.38 kB / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3571, allocations: 148.9 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3571, allocations: 0 / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3571, allocations: 4 kB / 0.5634 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3572, allocations: 4 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.3575, allocations: 104.8 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3587, allocations: 0.6029 MB / 0.5641 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.3589, allocations: 66.56 kB / 0.5642 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.359, allocations: 33 kB / 0.5642 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3591, allocations: 0 / 0.5642 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.3591, allocations: 42.56 kB / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3591, allocations: 0 / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004765/0.3596, allocations: 109.5 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.3596, allocations: 51.41 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3598, allocations: 165.2 kB / 0.5646 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3599, allocations: 25.7 kB / 0.5646 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.36, allocations: 139.8 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.36, allocations: 11.91 kB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.3601, allocations: 29.67 kB / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3602, allocations: 322.8 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3603, allocations: 27.97 kB / 0.5651 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3605, allocations: 64.27 kB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.3607, allocations: 88.2 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3607, allocations: 3.938 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003209/0.361, allocations: 133.5 kB / 0.5654 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3611, allocations: 4 kB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3611, allocations: 0 / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3611, allocations: 4 kB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3613, allocations: 39.84 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3614, allocations: 80 / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3615, allocations: 20.02 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3615, allocations: 7.984 kB / 0.5654 GB, free: 14.72 MB / 414.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 0.0001238/0.3616, allocations: 121.8 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3616, allocations: 7.953 kB / 0.5656 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.3617, allocations: 12.31 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3617, allocations: 3.938 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3617, allocations: 0 / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3617, allocations: 0 / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.362, allocations: 209.6 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.362, allocations: 4 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3621, allocations: 19.92 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3621, allocations: 3.938 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.3621, allocations: 0 / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3621, allocations: 3.938 kB / 0.5658 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3621, allocations: 0 / 0.5658 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.3624, allocations: 183.7 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3625, allocations: 89.06 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3626, allocations: 8.047 kB / 0.5661 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.3627, allocations: 7.938 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3627, allocations: 3.984 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.3627, allocations: 8 kB / 0.5661 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.674e-05/0.3628, allocations: 106.8 kB / 0.5662 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3628, allocations: 4 kB / 0.5662 GB, free: 13.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.3631, allocations: 27.89 kB / 0.5662 GB, free: 13.82 MB / 414.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 0.0001236/0.3632, allocations: 103.2 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3635, allocations: 67.89 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3635, allocations: 0 / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3636, allocations: 23.98 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3639, allocations: 8 kB / 0.5664 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.3647, allocations: 301.6 kB / 0.5667 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3651, allocations: 0.704 MB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.3651, allocations: 11.44 kB / 0.5674 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3651, allocations: 0 / 0.5674 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.003893/0.369, allocations: 1.296 MB / 0.5687 GB, free: 11.25 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches