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.0009115/0.0009115, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001001/0.001001, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 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.9625/0.9625, allocations: 177 MB / 205.2 MB, free: 5.617 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.2332/0.2332, allocations: 34.87 MB / 296.6 MB, free: 0.5664 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.613e-06/1.613e-06, allocations: 0 / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.493e-05, allocations: 4.281 kB / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002166/0.002181, allocations: 1.977 MB / 380.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.002904, allocations: 0.5842 MB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.002977, allocations: 8 kB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.003123, allocations: 35.66 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.003212, allocations: 31.7 kB / 381.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.003347, allocations: 47.88 kB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003494, allocations: 155.4 kB / 381.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003612, allocations: 41.72 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003712, allocations: 87.8 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.003781, allocations: 43.89 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.003808, allocations: 12 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.003824, allocations: 20 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.00385, allocations: 31.89 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.003892, allocations: 47.84 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004023, allocations: 99.66 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004026, allocations: 3.984 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004026, allocations: 0 / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.00403, allocations: 0 / 381.9 MB, free: 15.21 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.001479/0.005509, allocations: 468.3 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.00554, allocations: 12.03 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.005589, allocations: 24.84 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.005748, allocations: 151.6 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.00576, allocations: 12.66 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.005777, allocations: 16.38 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.00596, allocations: 117.1 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005968, allocations: 4.172 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.005981, allocations: 4.375 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.00599, allocations: 7.938 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.006074, allocations: 48.75 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.006657, allocations: 0.5556 MB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.006782, allocations: 55.08 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.006809, allocations: 15.81 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.006824, allocations: 4 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006845, allocations: 37.42 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.006846, allocations: 0 / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001468/0.006993, allocations: 61.59 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.007019, allocations: 51.41 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007121, allocations: 213.3 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.00713, allocations: 25.7 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.007199, allocations: 186.4 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.007212, allocations: 19.86 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.007252, allocations: 31.36 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.007357, allocations: 0.4883 MB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.007383, allocations: 15.98 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.007425, allocations: 58.42 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.634e-05/0.007491, allocations: 74.31 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007493, allocations: 0 / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000101/0.007594, allocations: 89.56 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007606, allocations: 7.984 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.00761, allocations: 0 / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.007621, allocations: 4 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.00769, allocations: 27.92 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.007695, allocations: 0 / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.007735, allocations: 24 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.007742, allocations: 4 kB / 384.8 MB, free: 12.07 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.449e-05/0.007806, allocations: 164.5 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.007823, allocations: 15.83 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.007846, allocations: 16.45 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.007847, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.00785, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007852, allocations: 0 / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.007966, allocations: 152.5 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007967, allocations: 0 / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.007998, allocations: 19.98 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.008, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.008005, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.008006, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008007, allocations: 256 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.008109, allocations: 211.8 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.00812, allocations: 7.953 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.00813, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.008173, allocations: 7.984 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.008206, allocations: 3.938 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.008209, allocations: 4 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.008261, allocations: 151.2 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008261, allocations: 4 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.008419, allocations: 27.89 kB / 385.6 MB, free: 11.24 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.765e-05/0.008477, allocations: 91.25 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.008571, allocations: 43.61 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008572, allocations: 0 / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.008595, allocations: 19.67 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.008772, allocations: 16.19 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.009123, allocations: 251.1 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.9e-05/0.009162, allocations: 67.33 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.009192, allocations: 8 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.009218, allocations: 12.5 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009218, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Templates: time 0.002206/0.01142, allocations: 0.6834 MB / 386.8 MB, free: 9.996 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.8315969849936664]