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.0008759/0.0008759, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002125, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007483/0.0007483, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001757, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1107/1.136, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.3264/0.3264, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02908/0.3555, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.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.393e-06/1.393e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.033e-05, allocations: 3.406 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.0034/0.00342, allocations: 2.722 MB / 295.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.00496, allocations: 0.8065 MB / 296.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.005129, allocations: 8 kB / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.005309, allocations: 63.38 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.005506, allocations: 119 kB / 296.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.005798, allocations: 115.8 kB / 296.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.006268, allocations: 431.6 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.006474, allocations: 100.5 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.006804, allocations: 261.6 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.006959, allocations: 123.6 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.007016, allocations: 32 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.007068, allocations: 36 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.007121, allocations: 55.81 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.007204, allocations: 99.75 kB / 297.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.007532, allocations: 247 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.762e-05/0.007549, allocations: 4 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.007551, allocations: 0 / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.007567, allocations: 0 / 298 MB, free: 0.9883 MB / 282.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.0008441/0.008411, allocations: 0.6491 MB / 298.7 MB, free: 324 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00845, allocations: 8.031 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.008526, allocations: 52.89 kB / 298.7 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.008803, allocations: 204.6 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.008828, allocations: 25.38 kB / 298.9 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.008877, allocations: 32.42 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.009245, allocations: 287.5 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.009259, allocations: 3.938 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.009281, allocations: 16 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.009294, allocations: 8 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.009422, allocations: 83.89 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01059, allocations: 0.9744 MB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.01081, allocations: 138.5 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.01085, allocations: 39.42 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.01088, allocations: 12.06 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.01091, allocations: 34.56 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.01091, allocations: 4 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002313/0.01114, allocations: 105.5 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.01119, allocations: 136.5 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01137, allocations: 274.8 kB / 301.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01138, allocations: 29.7 kB / 301.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.01148, allocations: 228.5 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.01151, allocations: 51.52 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.01157, allocations: 61.91 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.01167, allocations: 338.8 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.01171, allocations: 21.05 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.01179, allocations: 120.3 kB / 301.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.01194, allocations: 170.9 kB / 302.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.01196, allocations: 7.984 kB / 302.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000188/0.01214, allocations: 161.4 kB / 302.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.01216, allocations: 7.938 kB / 302.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.01217, allocations: 4 kB / 302.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01219, allocations: 4 kB / 302.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.01244, allocations: 91.88 kB / 302.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.01245, allocations: 7.938 kB / 302.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01256, allocations: 36.02 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01258, allocations: 19.94 kB / 302.4 MB, free: 12.25 MB / 298.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 9.179e-05/0.01267, allocations: 117.8 kB / 302.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.01272, allocations: 23.98 kB / 302.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.01277, allocations: 29.52 kB / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01277, allocations: 4 kB / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01278, allocations: 0 / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01278, allocations: 4 kB / 302.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.01328, allocations: 426 kB / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01328, allocations: 0 / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.01341, allocations: 47.91 kB / 303 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.01344, allocations: 20.14 kB / 303.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.01345, allocations: 4 kB / 303.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.01345, allocations: 4 kB / 303.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.01346, allocations: 4 kB / 303.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.01346, allocations: 0 / 303.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.01367, allocations: 303.8 kB / 303.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01369, allocations: 8.031 kB / 303.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01379, allocations: 16.05 kB / 303.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.01385, allocations: 19.97 kB / 303.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.01385, allocations: 4 kB / 303.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.01393, allocations: 92.62 kB / 303.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01393, allocations: 0 / 303.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.01418, allocations: 91.61 kB / 303.6 MB, free: 10.97 MB / 298.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 9.573e-05/0.01428, allocations: 77.41 kB / 303.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.01445, allocations: 112.5 kB / 303.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.01446, allocations: 4 kB / 303.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.01453, allocations: 52.72 kB / 303.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.01485, allocations: 118.8 kB / 304 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01606, allocations: 0.5694 MB / 304.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.205e-05/0.01612, allocations: 88.31 kB / 304.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.0162, allocations: 26.2 kB / 304.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/0.01629, allocations: 75.38 kB / 304.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01629, allocations: 4 kB / 304.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of Templates: time 0.004557/0.02085, allocations: 1.983 MB / 306.7 MB, free: 7.816 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0659394077956676]