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.00118/0.00118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001926/0.003106, allocations: 449.7 kB / 10.37 MB, free: 328 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.001175/0.001175, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002639, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9832/0.9832, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09549/1.079, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2565/0.2565, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03398/0.2905, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.743e-06/1.743e-06, allocations: 0 / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.538e-05, allocations: 3.188 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004444/0.004469, allocations: 2.724 MB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.006203, allocations: 0.8066 MB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.006413, allocations: 4 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.006636, allocations: 71.31 kB / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.006928, allocations: 119 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.007197, allocations: 111.8 kB / 296.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.007515, allocations: 418.3 kB / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.007695, allocations: 108.5 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.007927, allocations: 261.6 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.008056, allocations: 119.6 kB / 297.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.0081, allocations: 40 kB / 297.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.337e-05/0.008133, allocations: 32 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.008175, allocations: 59.75 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.008252, allocations: 99.75 kB / 297.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.008495, allocations: 247 kB / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.008513, allocations: 0 / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008515, allocations: 0 / 297.8 MB, free: 1.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.00853, allocations: 0 / 297.8 MB, free: 1.098 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.0007464/0.009277, allocations: 0.653 MB / 298.4 MB, free: 432 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.009322, allocations: 12.03 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.009395, allocations: 44.91 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.009651, allocations: 204.6 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.009675, allocations: 21.38 kB / 298.7 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.009713, allocations: 32.38 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.01005, allocations: 291.5 kB / 299 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01006, allocations: 4 kB / 299 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.01007, allocations: 16 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01008, allocations: 8 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.01019, allocations: 87.88 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.01112, allocations: 0.9744 MB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.01132, allocations: 134.5 kB / 300.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.01136, allocations: 31.44 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01138, allocations: 12.11 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01141, allocations: 42.5 kB / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.01141, allocations: 0 / 300.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002048/0.01161, allocations: 117.6 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.01167, allocations: 132.5 kB / 300.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.01183, allocations: 282.8 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.01184, allocations: 25.7 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01195, allocations: 228.6 kB / 301.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.01198, allocations: 59.52 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.01205, allocations: 57.92 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01216, allocations: 334.8 kB / 301.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.0122, allocations: 20.55 kB / 301.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.01229, allocations: 116.1 kB / 301.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01244, allocations: 158.9 kB / 301.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01244, allocations: 0 / 301.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001971/0.01264, allocations: 165.6 kB / 302 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.01266, allocations: 11.94 kB / 302 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.01267, allocations: 4 kB / 302 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.01269, allocations: 4.25 kB / 302 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.01295, allocations: 91.88 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.01296, allocations: 11.94 kB / 302.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.01305, allocations: 35.77 kB / 302.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01307, allocations: 15.98 kB / 302.2 MB, free: 12.37 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 0.0001011/0.01317, allocations: 125.8 kB / 302.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.01322, allocations: 15.98 kB / 302.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.01328, allocations: 33.52 kB / 302.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01328, allocations: 4 kB / 302.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01328, allocations: 4 kB / 302.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01329, allocations: 0 / 302.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.01378, allocations: 413.9 kB / 302.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.01378, allocations: 4 kB / 302.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.0139, allocations: 43.91 kB / 302.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.01392, allocations: 24.23 kB / 302.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01393, allocations: 0 / 302.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01394, allocations: 8.156 kB / 302.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.01394, allocations: 12 kB / 302.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01395, allocations: 0 / 302.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.01416, allocations: 304.8 kB / 303.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.01417, allocations: 0 / 303.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.01427, allocations: 15.98 kB / 303.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.01431, allocations: 11.98 kB / 303.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01432, allocations: 7.984 kB / 303.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.0144, allocations: 96.62 kB / 303.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0144, allocations: 0 / 303.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01462, allocations: 91.67 kB / 303.4 MB, free: 11.09 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 0.0001206/0.01474, allocations: 76.36 kB / 303.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.01491, allocations: 108.6 kB / 303.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/0.01492, allocations: 4 kB / 303.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.01497, allocations: 45.47 kB / 303.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01527, allocations: 33.48 kB / 303.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.01659, allocations: 0.5707 MB / 304.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.256e-05/0.01666, allocations: 87.97 kB / 304.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.01672, allocations: 21.81 kB / 304.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.0168, allocations: 75.36 kB / 304.4 MB, free: 10 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0168, allocations: 0 / 304.4 MB, free: 10 MB / 298.7 MB Notification: Performance of Templates: time 0.003627/0.02043, allocations: 1.545 MB / 305.9 MB, free: 8.477 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8933965377509594]