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.0008037/0.0008037, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000989/0.001793, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.0007342/0.0007342, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008886/0.001623, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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 0.9011/0.9011, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08548/0.9866, allocations: 53.87 MB / 243.7 MB, free: 14.89 MB / 250.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.2492/0.2492, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02775/0.2769, allocations: 13.23 MB / 292.6 MB, free: 6.449 MB / 282.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 1.723e-06/1.723e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.644e-05, allocations: 4.422 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003738/0.003765, allocations: 2.721 MB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.005001, allocations: 0.8029 MB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.005133, allocations: 8 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.005313, allocations: 71.36 kB / 297.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.005512, allocations: 107 kB / 297.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.005751, allocations: 115.8 kB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.006128, allocations: 430.3 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.006324, allocations: 104.5 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.006614, allocations: 261.6 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.006766, allocations: 123.6 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.006814, allocations: 32 kB / 298.6 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.006855, allocations: 32 kB / 298.6 MB, free: 388 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.006905, allocations: 59.75 kB / 298.7 MB, free: 328 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.007003, allocations: 99.81 kB / 298.8 MB, free: 228 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.007287, allocations: 255 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.007302, allocations: 0 / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007303, allocations: 0 / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.007317, allocations: 0 / 299 MB, free: 15.97 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.0007432/0.00806, allocations: 0.6413 MB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.008092, allocations: 8.922 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.008163, allocations: 60.89 kB / 299.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.00839, allocations: 200.6 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.008413, allocations: 33.31 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.008444, allocations: 28.38 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.008783, allocations: 287.6 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.008793, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.008814, allocations: 16 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.008824, allocations: 8 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.008958, allocations: 81.39 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01008, allocations: 0.9783 MB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.01032, allocations: 142.5 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.01037, allocations: 43.55 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.0104, allocations: 4 kB / 301.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.01042, allocations: 38.5 kB / 301.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.01042, allocations: 4 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002614/0.01069, allocations: 109.5 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.01074, allocations: 132.5 kB / 301.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01094, allocations: 274.8 kB / 302.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01096, allocations: 33.7 kB / 302.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01107, allocations: 220.5 kB / 302.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.01111, allocations: 59.52 kB / 302.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.01118, allocations: 57.91 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.01128, allocations: 338.8 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.01132, allocations: 20.67 kB / 302.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.01142, allocations: 128.7 kB / 302.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.01159, allocations: 154.9 kB / 303.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01159, allocations: 0 / 303.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002363/0.01182, allocations: 165.3 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01184, allocations: 7.938 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01185, allocations: 4 kB / 303.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01186, allocations: 4 kB / 303.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.01215, allocations: 91.81 kB / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01216, allocations: 7.938 kB / 303.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01229, allocations: 44.02 kB / 303.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01231, allocations: 8 kB / 303.4 MB, free: 11.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.131e-05/0.0124, allocations: 121.8 kB / 303.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.01248, allocations: 19.98 kB / 303.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.01253, allocations: 33.52 kB / 303.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01253, allocations: 0 / 303.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01254, allocations: 4.562 kB / 303.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01254, allocations: 3.984 kB / 303.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.01304, allocations: 418.3 kB / 304 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01304, allocations: 0 / 304 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.01318, allocations: 55.91 kB / 304.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.0132, allocations: 19.86 kB / 304.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01321, allocations: 7.984 kB / 304.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01322, allocations: 7.984 kB / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01322, allocations: 0 / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.01322, allocations: 4 kB / 304.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.0134, allocations: 294.9 kB / 304.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.01342, allocations: 16.08 kB / 304.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.01355, allocations: 4 kB / 304.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.0136, allocations: 19.97 kB / 304.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.0136, allocations: 4 kB / 304.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.01368, allocations: 96.64 kB / 304.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01369, allocations: 0 / 304.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.01399, allocations: 83.67 kB / 304.6 MB, free: 9.973 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 8.05e-05/0.01407, allocations: 80.36 kB / 304.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.01422, allocations: 103.1 kB / 304.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.01423, allocations: 8 kB / 304.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.01428, allocations: 44.7 kB / 304.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.0146, allocations: 40.64 kB / 304.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01604, allocations: 0.5727 MB / 305.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.865e-05/0.0161, allocations: 87.97 kB / 305.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.977e-05/0.01619, allocations: 21.62 kB / 305.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.01629, allocations: 67.38 kB / 305.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01629, allocations: 0 / 305.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of Templates: time 0.004299/0.02059, allocations: 1.539 MB / 307.2 MB, free: 7.367 MB / 298.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 -emit_protected -ignoreHideResult -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.6337998528033495]