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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.956/0.956, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2682/0.2682, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] 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 1.352e-06/1.352e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.491e-05, allocations: 2.312 kB / 378.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002124/0.002139, allocations: 1.974 MB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007891/0.002928, allocations: 0.5959 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.003003, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.003154, allocations: 35.66 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.003249, allocations: 27.77 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003382, allocations: 51.88 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003528, allocations: 159.4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003638, allocations: 41.72 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003743, allocations: 95.78 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.003806, allocations: 39.89 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.003834, allocations: 12 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.00385, allocations: 16 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.003876, allocations: 27.91 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.003916, allocations: 47.84 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.004046, allocations: 107.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004048, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004048, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004053, allocations: 0 / 382 MB, free: 14.85 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004927/0.004545, allocations: 464.3 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.004577, allocations: 8.031 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.004644, allocations: 28.83 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.004813, allocations: 148.4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004827, allocations: 16.66 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.004843, allocations: 16.38 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.005027, allocations: 117.1 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.005035, allocations: 4.125 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.005048, allocations: 4.375 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.005058, allocations: 11.94 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.005138, allocations: 44.81 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.005715, allocations: 0.5517 MB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.00584, allocations: 51.08 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.005867, allocations: 27.78 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.005882, allocations: 4 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005901, allocations: 33.39 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005902, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001496/0.006052, allocations: 65.58 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.006078, allocations: 51.41 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.00618, allocations: 201.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.006333, allocations: 25.7 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.006407, allocations: 186.4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.00642, allocations: 19.86 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.006456, allocations: 35.36 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.006574, allocations: 0.4922 MB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.006601, allocations: 12 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.006647, allocations: 58.42 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.368e-05/0.006721, allocations: 66.38 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006723, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001138/0.006837, allocations: 101.5 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.00685, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.006854, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.006869, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.006942, allocations: 31.92 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006948, allocations: 0 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.006988, allocations: 11.89 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.006997, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.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 6.935e-05/0.007066, allocations: 164.5 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.007084, allocations: 12.05 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.007107, allocations: 16.45 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007108, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007112, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007116, allocations: 7.922 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.007231, allocations: 156.5 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007232, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.007266, allocations: 16.19 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007268, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007275, allocations: 4 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007276, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007277, allocations: 4 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007379, allocations: 207.8 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007391, allocations: 11.94 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.007401, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.007437, allocations: 4 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.007475, allocations: 3.984 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.007481, allocations: 8 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.007533, allocations: 142.6 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007533, allocations: 4 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.007693, allocations: 27.89 kB / 385.6 MB, free: 10.89 MB / 362.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.82e-05/0.007752, allocations: 99.19 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.007853, allocations: 47.59 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007854, allocations: 0 / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.007876, allocations: 15.69 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.008056, allocations: 18.33 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.008433, allocations: 251.4 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.008469, allocations: 63.34 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.008497, allocations: 4 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.008527, allocations: 16.48 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008528, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.002528/0.01106, allocations: 0.7168 MB / 386.8 MB, free: 9.605 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.910244795959443]