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.001932/0.001932, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002311/0.002311, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3591/0.3591, allocations: 32.8 MB / 293.9 MB, free: 1.203 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 2.014e-06/2.014e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.063e-05, allocations: 2.312 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004489/0.00452, allocations: 2.521 MB / 377.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.00604, allocations: 0.7631 MB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.006171, allocations: 4 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.006401, allocations: 67.38 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.00667, allocations: 115 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.006956, allocations: 111.8 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.007463, allocations: 434.3 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.007659, allocations: 91.84 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.007963, allocations: 231.5 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.008162, allocations: 123.6 kB / 379.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.00823, allocations: 32 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.008286, allocations: 32 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.008382, allocations: 79.72 kB / 379.8 MB, free: 428 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.008535, allocations: 119.7 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.009082, allocations: 438.5 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009086, allocations: 4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009087, allocations: 4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.009094, allocations: 0 / 380.4 MB, free: 15.86 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001145/0.01024, allocations: 0.5988 MB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.01028, allocations: 15.98 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.01041, allocations: 68.66 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.01081, allocations: 220.5 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.01085, allocations: 33.38 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.0109, allocations: 32.38 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/0.01164, allocations: 359 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.01165, allocations: 3.938 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.01169, allocations: 16 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.0117, allocations: 12 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.01236, allocations: 259.8 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.01456, allocations: 1.173 MB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.01511, allocations: 194.4 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.01535, allocations: 83.56 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.01539, allocations: 11.92 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.01543, allocations: 38.5 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01543, allocations: 0 / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008561/0.01628, allocations: 245.4 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.0164, allocations: 140.5 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.01676, allocations: 292.4 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01678, allocations: 29.69 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.01725, allocations: 252 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.01731, allocations: 59.66 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.01742, allocations: 53.94 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.01762, allocations: 334.8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.01787, allocations: 80.5 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.01821, allocations: 172.2 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.01877, allocations: 246.9 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01877, allocations: 0 / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007342/0.01951, allocations: 321.5 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.01953, allocations: 7.984 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.01954, allocations: 4 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.01957, allocations: 4 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.02, allocations: 96.19 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.02002, allocations: 11.98 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.02029, allocations: 39.72 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.02031, allocations: 15.94 kB / 385.8 MB, free: 10.05 MB / 362.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 0.0001869/0.0205, allocations: 149.7 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.02061, allocations: 35.8 kB / 386 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.02068, allocations: 29.58 kB / 386 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02068, allocations: 0 / 386 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.02069, allocations: 12.27 kB / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.0207, allocations: 0 / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.02153, allocations: 0.4975 MB / 386.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.02154, allocations: 4 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.02183, allocations: 59.86 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.02183, allocations: 4.156 kB / 386.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.02185, allocations: 8 kB / 386.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02185, allocations: 3.938 kB / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.02185, allocations: 4 kB / 386.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.02249, allocations: 398.7 kB / 387 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.02254, allocations: 27.81 kB / 387 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.02257, allocations: 4 kB / 387 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.0228, allocations: 19.98 kB / 387.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.02287, allocations: 19.91 kB / 387.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.02288, allocations: 8 kB / 387.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.02311, allocations: 195.1 kB / 387.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02311, allocations: 0 / 387.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.02354, allocations: 79.78 kB / 387.3 MB, free: 8.414 MB / 362.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 0.0001369/0.02367, allocations: 103.2 kB / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.02426, allocations: 187.6 kB / 387.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02426, allocations: 0 / 387.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.0245, allocations: 76.7 kB / 387.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.02495, allocations: 26.52 kB / 387.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02598, allocations: 0.5547 MB / 388.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.02617, allocations: 164.5 kB / 388.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.02627, allocations: 25.62 kB / 388.5 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.02633, allocations: 16.5 kB / 388.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02633, allocations: 0 / 388.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of Templates: time 0.005145/0.03147, allocations: 1.523 MB / 390 MB, free: 5.695 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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: 5.013301735976711]