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.001869/0.001869, allocations: 92.27 kB / 20.96 MB, free: 3.438 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.002155/0.002155, allocations: 160.8 kB / 24.27 MB, free: 136 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 1.527/1.527, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3875/0.3875, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.793e-06/1.793e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.175e-05, allocations: 3.438 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.005001/0.005033, allocations: 1.893 MB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.006606, allocations: 0.5686 MB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.006717, allocations: 0 / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.006968, allocations: 39.72 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.00716, allocations: 35.7 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.0074, allocations: 47.88 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.0077, allocations: 155.4 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.007884, allocations: 37.78 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.008148, allocations: 87.8 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.008249, allocations: 43.88 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.008313, allocations: 16.05 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.103e-05/0.008345, allocations: 16 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.008384, allocations: 27.86 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.008467, allocations: 51.84 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.008744, allocations: 159.5 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.008749, allocations: 0 / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008751, allocations: 0 / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008756, allocations: 0 / 380.4 MB, free: 15.74 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.0007351/0.009491, allocations: 369.9 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.009532, allocations: 16.03 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.009606, allocations: 24.84 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.009914, allocations: 149.5 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.009931, allocations: 8.656 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.009956, allocations: 16.38 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.01032, allocations: 136.4 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.01033, allocations: 192 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.01035, allocations: 8.312 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01036, allocations: 7.938 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.01068, allocations: 108.8 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01175, allocations: 0.5173 MB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.01205, allocations: 70.52 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01216, allocations: 32.94 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.01218, allocations: 4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.01221, allocations: 34.56 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.01221, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004334/0.01264, allocations: 113.5 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.01269, allocations: 51.41 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01286, allocations: 148.9 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01288, allocations: 25.7 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.01301, allocations: 135.7 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.01304, allocations: 23.83 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.01309, allocations: 25.67 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.01333, allocations: 326.8 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.01346, allocations: 31.97 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01359, allocations: 56.28 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.01384, allocations: 96.19 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01384, allocations: 0 / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003335/0.01417, allocations: 133.5 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01419, allocations: 8 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.0142, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.01422, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01436, allocations: 32.05 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01437, allocations: 4 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.01447, allocations: 23.88 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.01448, allocations: 0 / 383 MB, free: 12.83 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 0.0001281/0.01461, allocations: 125.8 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01464, allocations: 7.953 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.01468, allocations: 16.45 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01468, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01468, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01469, allocations: 3.938 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.0149, allocations: 145.2 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0149, allocations: 0 / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.015, allocations: 23.92 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01501, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01502, allocations: 4.25 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01502, allocations: 3.984 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01502, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.01535, allocations: 183.4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.01537, allocations: 7.953 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01539, allocations: 4 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.01549, allocations: 11.98 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.01553, allocations: 0 / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01554, allocations: 4 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.01564, allocations: 107.2 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01564, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.01591, allocations: 31.89 kB / 383.7 MB, free: 12.11 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 0.0001286/0.01604, allocations: 95.19 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.01633, allocations: 71.89 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01633, allocations: 0 / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01643, allocations: 27.97 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01673, allocations: 11.94 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.01732, allocations: 253.7 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.01744, allocations: 98.27 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.01749, allocations: 7.984 kB / 384.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.01753, allocations: 12.5 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01753, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004259/0.02179, allocations: 0.6756 MB / 385 MB, free: 10.81 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=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/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_trunk_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: 4.742063542944379]