Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001459/0.001459, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001702/0.001702, allocations: 169 kB / 24.91 MB, free: 8.723 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2565/0.2565, allocations: 34.25 MB / 296.1 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.178e-05, allocations: 5.922 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003106/0.003128, allocations: 2.714 MB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004315, allocations: 0.7993 MB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.004463, allocations: 12 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.004664, allocations: 67.31 kB / 328.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.004854, allocations: 107.1 kB / 329 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.005072, allocations: 115.8 kB / 329.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.005402, allocations: 438.8 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.00557, allocations: 104.5 kB / 329.6 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.005778, allocations: 231.5 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005919, allocations: 123.6 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.005963, allocations: 32 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.005996, allocations: 32 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.006048, allocations: 79.69 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.006131, allocations: 119.7 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.00638, allocations: 270.9 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.006383, allocations: 3.984 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006384, allocations: 4 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006389, allocations: 0 / 330.5 MB, free: 2.438 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.0005602/0.006949, allocations: 0.5715 MB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.006985, allocations: 8.031 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.007045, allocations: 56.89 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.007247, allocations: 208.6 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.007264, allocations: 25.31 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.007304, allocations: 32.38 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.007597, allocations: 291.5 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.007608, allocations: 0 / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.007627, allocations: 16 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.007636, allocations: 8 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.007752, allocations: 90 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.008671, allocations: 0.9704 MB / 332.7 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.00886, allocations: 134.4 kB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.008898, allocations: 35.55 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.008919, allocations: 8 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.008942, allocations: 38.55 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.008944, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002098/0.009153, allocations: 109.6 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.009212, allocations: 144.5 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.009382, allocations: 271 kB / 333.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.009395, allocations: 25.7 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.009499, allocations: 228.5 kB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.009534, allocations: 59.5 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.009593, allocations: 57.92 kB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.009693, allocations: 338.8 kB / 334.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.009727, allocations: 20.55 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.009804, allocations: 104.3 kB / 334.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.009936, allocations: 163.1 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009938, allocations: 0 / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001764/0.01011, allocations: 181.9 kB / 334.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01013, allocations: 11.94 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01013, allocations: 4 kB / 334.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01015, allocations: 4 kB / 334.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.01035, allocations: 83.89 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01036, allocations: 7.984 kB / 334.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.01046, allocations: 35.8 kB / 334.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01047, allocations: 8 kB / 334.8 MB, free: 13.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 8.177e-05/0.01055, allocations: 137.8 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.0106, allocations: 19.92 kB / 334.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.01064, allocations: 33.52 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01065, allocations: 4 kB / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01065, allocations: 0 / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01065, allocations: 0 / 335 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.01102, allocations: 402 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01102, allocations: 4 kB / 335.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.01112, allocations: 48.11 kB / 335.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01112, allocations: 0 / 335.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.01112, allocations: 8 kB / 335.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01113, allocations: 7.938 kB / 335.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01113, allocations: 0 / 335.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.01129, allocations: 294.9 kB / 335.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.01131, allocations: 23.81 kB / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01133, allocations: 11.94 kB / 335.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.01141, allocations: 7.984 kB / 335.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01146, allocations: 19.98 kB / 335.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.01146, allocations: 4 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.743e-05/0.01153, allocations: 92.62 kB / 335.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01153, allocations: 0 / 335.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.01175, allocations: 83.72 kB / 335.9 MB, free: 12.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 6.708e-05/0.01181, allocations: 88.28 kB / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01196, allocations: 101 kB / 336.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.01197, allocations: 8.062 kB / 336.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.01201, allocations: 40.78 kB / 336.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01226, allocations: 19 kB / 336.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.01284, allocations: 0.552 MB / 336.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.0129, allocations: 91.95 kB / 336.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.01296, allocations: 17.91 kB / 336.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.01303, allocations: 75.31 kB / 336.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01303, allocations: 0 / 336.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of Templates: time 0.003424/0.01645, allocations: 1.506 MB / 338.4 MB, free: 9.984 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9181450861506164]