Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001013/0.001013, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001203/0.001203, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2468/0.2468, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.113e-05, allocations: 9.578 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002832/0.002853, allocations: 2.71 MB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.003822, allocations: 0.7981 MB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.003937, allocations: 11.94 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.004109, allocations: 67.36 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.004273, allocations: 111.1 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.004466, allocations: 119.7 kB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.00476, allocations: 434.3 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.004918, allocations: 96.48 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.005109, allocations: 235.5 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.005228, allocations: 127.6 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.005264, allocations: 32 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.016e-05/0.005294, allocations: 32 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.005341, allocations: 87.66 kB / 328.1 MB, free: 4.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.00542, allocations: 115.7 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.005642, allocations: 271 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.005644, allocations: 0 / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005644, allocations: 0 / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005648, allocations: 0 / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0005261/0.006175, allocations: 0.5713 MB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.006204, allocations: 15.92 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.006258, allocations: 52.89 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006449, allocations: 204.6 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006466, allocations: 25.38 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.006491, allocations: 36.31 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.006753, allocations: 291.6 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006763, allocations: 0 / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.006781, allocations: 16 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006788, allocations: 8 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.006896, allocations: 89.64 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.007755, allocations: 0.9666 MB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.007922, allocations: 134.3 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.007959, allocations: 39.67 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.007981, allocations: 7.938 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.008, allocations: 38.56 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.008002, allocations: 0 / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001908/0.008192, allocations: 109.5 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.008237, allocations: 132.5 kB / 331.2 MB, free: 1.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008381, allocations: 274.8 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.008395, allocations: 25.7 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.008484, allocations: 236.6 kB / 331.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.00851, allocations: 55.52 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.008566, allocations: 57.91 kB / 331.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.008644, allocations: 338.8 kB / 332.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.008681, allocations: 20.55 kB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.008755, allocations: 116.2 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.008879, allocations: 163.6 kB / 332.4 MB, free: 132 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008881, allocations: 0 / 332.4 MB, free: 132 kB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001685/0.009049, allocations: 161.4 kB / 332.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.009063, allocations: 15.88 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.009068, allocations: 4 kB / 332.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.00908, allocations: 8.25 kB / 332.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.009273, allocations: 87.81 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009278, allocations: 4 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.009374, allocations: 35.78 kB / 332.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.009386, allocations: 12 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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 7.247e-05/0.009459, allocations: 125.7 kB / 332.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.009516, allocations: 19.98 kB / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.009549, allocations: 33.52 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.009552, allocations: 0 / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.009554, allocations: 8 kB / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.009558, allocations: 0 / 332.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.009918, allocations: 410 kB / 333.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009919, allocations: 0 / 333.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.666e-05/0.01002, allocations: 47.91 kB / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01002, allocations: 0 / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01003, allocations: 8 kB / 333.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01003, allocations: 8.156 kB / 333.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01003, allocations: 0 / 333.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.01017, allocations: 297.6 kB / 333.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.01019, allocations: 23.84 kB / 333.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.01021, allocations: 4 kB / 333.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.01029, allocations: 11.98 kB / 333.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.01034, allocations: 19.97 kB / 333.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01034, allocations: 4 kB / 333.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.0104, allocations: 92.58 kB / 333.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0104, allocations: 0 / 333.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01062, allocations: 91.67 kB / 333.9 MB, free: 14.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.966e-05/0.01068, allocations: 81.23 kB / 334 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.0108, allocations: 100.9 kB / 334.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.01081, allocations: 4.75 kB / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.01086, allocations: 49.7 kB / 334.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01107, allocations: 25.05 kB / 334.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.01161, allocations: 0.5474 MB / 334.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.01167, allocations: 83.97 kB / 334.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.01173, allocations: 25.91 kB / 334.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.0118, allocations: 71.36 kB / 334.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of SimCode: time 5.92e-07/0.0118, allocations: 0 / 334.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of Templates: time 0.003374/0.01517, allocations: 1.52 MB / 336.4 MB, free: 11.97 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.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.927589933387935]