Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.001077/0.001077, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001159/0.001159, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.051 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.2747/0.2747, allocations: 34.85 MB / 296.6 MB, free: 452 kB / 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.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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 4 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.882e-05, allocations: 5.406 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002986/0.003005, allocations: 2.717 MB / 328.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004204, allocations: 0.7912 MB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.004319, allocations: 15.94 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.004497, allocations: 71.36 kB / 329.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.004678, allocations: 107.1 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004898, allocations: 119.7 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.005204, allocations: 444.7 kB / 330.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.005366, allocations: 104.5 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.00558, allocations: 227.5 kB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.005705, allocations: 123.6 kB / 330.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.005745, allocations: 32 kB / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.005775, allocations: 32 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.005825, allocations: 79.67 kB / 330.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.005911, allocations: 123.7 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.006157, allocations: 266.9 kB / 331.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.006159, allocations: 0 / 331.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00616, allocations: 0 / 331.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.006165, allocations: 4 kB / 331.2 MB, free: 1.867 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.0005776/0.006743, allocations: 0.5714 MB / 331.7 MB, free: 1.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.006773, allocations: 8.031 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.006832, allocations: 56.89 kB / 331.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.007048, allocations: 200.6 kB / 332 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.007067, allocations: 29.38 kB / 332 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.007095, allocations: 40.25 kB / 332.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.007393, allocations: 283.6 kB / 332.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.007404, allocations: 0 / 332.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.007424, allocations: 12 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.007435, allocations: 8 kB / 332.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.007557, allocations: 91.8 kB / 332.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.008565, allocations: 0.9706 MB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.008764, allocations: 134.3 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.008806, allocations: 35.69 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.008833, allocations: 7.938 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.008861, allocations: 42.55 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.008863, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002174/0.00908, allocations: 105.5 kB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.009137, allocations: 136.6 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.009318, allocations: 274.8 kB / 334.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.009332, allocations: 29.7 kB / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.009438, allocations: 228.4 kB / 334.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.009468, allocations: 59.52 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.009532, allocations: 57.92 kB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.009645, allocations: 338.8 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.009677, allocations: 16.56 kB / 334.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.009764, allocations: 116.2 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.009915, allocations: 159.4 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009917, allocations: 0 / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001813/0.0101, allocations: 169.6 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.01012, allocations: 15.94 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01012, allocations: 4 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01014, allocations: 4 kB / 335.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.01034, allocations: 83.83 kB / 335.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01035, allocations: 11.92 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01045, allocations: 35.8 kB / 335.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01046, allocations: 4 kB / 335.4 MB, free: 13.25 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.63e-05/0.01055, allocations: 137.7 kB / 335.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.0106, allocations: 23.98 kB / 335.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.01064, allocations: 33.52 kB / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01064, allocations: 0 / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01065, allocations: 4 kB / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01065, allocations: 0 / 335.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.01103, allocations: 402 kB / 336 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01103, allocations: 0 / 336 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.01113, allocations: 56.05 kB / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01113, allocations: 0 / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.01114, allocations: 4 kB / 336.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01114, allocations: 4 kB / 336.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01114, allocations: 0 / 336.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.0113, allocations: 303.2 kB / 336.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.01132, allocations: 19.86 kB / 336.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.01134, allocations: 4 kB / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.01143, allocations: 15.97 kB / 336.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.01147, allocations: 15.98 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.01148, allocations: 8 kB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.566e-05/0.01154, allocations: 96.56 kB / 336.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 336.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01177, allocations: 83.67 kB / 336.6 MB, free: 11.97 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.478e-05/0.01183, allocations: 88.34 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01197, allocations: 96.62 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.01198, allocations: 4.5 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.01202, allocations: 53.02 kB / 336.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01224, allocations: 24.66 kB / 336.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01282, allocations: 0.5363 MB / 337.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.01288, allocations: 87.95 kB / 337.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.01294, allocations: 13.64 kB / 337.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.01301, allocations: 79.38 kB / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01301, allocations: 3.938 kB / 337.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Templates: time 0.00354/0.01655, allocations: 1.514 MB / 339.1 MB, free: 9.414 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9867428331635892]