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.004369/0.004369, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001241/0.001241, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 0.9241/0.9241, allocations: 177 MB / 205.9 MB, free: 4.449 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.1581/0.1581, allocations: 34.88 MB / 297.4 MB, free: 13.34 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 2.074e-06/2.074e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.825e-05, allocations: 4.141 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003172/0.003201, allocations: 2.662 MB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004522, allocations: 0.7747 MB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.004722, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.004954, allocations: 67.39 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.005236, allocations: 115.1 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.005536, allocations: 107.8 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.005951, allocations: 437.5 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.00614, allocations: 99.84 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.006404, allocations: 235.5 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.006557, allocations: 123.6 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.006606, allocations: 36 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.006647, allocations: 32 kB / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.0067, allocations: 79.67 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.006795, allocations: 127.7 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.007085, allocations: 263 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007089, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.00709, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.007097, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.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.0007417/0.007839, allocations: 0.7064 MB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.007879, allocations: 12.03 kB / 385.8 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.007969, allocations: 68.66 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.008234, allocations: 223.5 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.008258, allocations: 21.38 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.008296, allocations: 36.38 kB / 386.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.008666, allocations: 298.9 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.00868, allocations: 4 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.008706, allocations: 15.98 kB / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.008717, allocations: 15.98 kB / 386.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.008897, allocations: 96.73 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01013, allocations: 1.275 MB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.01036, allocations: 164.5 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.01042, allocations: 50.91 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.01044, allocations: 4 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.01047, allocations: 49.25 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.01047, allocations: 0 / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003216/0.01079, allocations: 125.4 kB / 388.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.01082, allocations: 132.5 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.01104, allocations: 349.9 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.01105, allocations: 29.7 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01116, allocations: 294.7 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.01119, allocations: 59.64 kB / 389.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.01127, allocations: 63.58 kB / 389.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.01133, allocations: 0.5079 MB / 389.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.01139, allocations: 24.53 kB / 389.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.01148, allocations: 152.9 kB / 389.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.01165, allocations: 200.4 kB / 390 MB, free: 12.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01165, allocations: 0 / 390 MB, free: 12.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002806/0.01193, allocations: 205.2 kB / 390.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01195, allocations: 9.656 kB / 390.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.01196, allocations: 4 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.01197, allocations: 4.25 kB / 390.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.01223, allocations: 83.89 kB / 390.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01223, allocations: 7.938 kB / 390.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.0124, allocations: 39.72 kB / 390.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.01242, allocations: 8 kB / 390.4 MB, free: 11.89 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 0.0001601/0.01258, allocations: 176.5 kB / 390.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.01266, allocations: 31.8 kB / 390.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.01272, allocations: 33.58 kB / 390.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01272, allocations: 7.984 kB / 390.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01272, allocations: 4 kB / 390.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01273, allocations: 0 / 390.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.01324, allocations: 0.5423 MB / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.01324, allocations: 0 / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01335, allocations: 43.91 kB / 391.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01335, allocations: 4 kB / 391.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01336, allocations: 4 kB / 391.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01336, allocations: 160 / 391.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01336, allocations: 8 kB / 391.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.01351, allocations: 427.2 kB / 391.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01353, allocations: 35.8 kB / 391.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01355, allocations: 0 / 391.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.01368, allocations: 19.92 kB / 391.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.01372, allocations: 11.98 kB / 391.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01373, allocations: 4 kB / 391.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.0138, allocations: 218.9 kB / 391.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 391.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.01405, allocations: 79.78 kB / 392 MB, free: 10.16 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 7.194e-05/0.01412, allocations: 107.2 kB / 392.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.01427, allocations: 108.6 kB / 392.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01427, allocations: 0 / 392.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.01431, allocations: 51.53 kB / 392.3 MB, free: 9.883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01459, allocations: 17.62 kB / 392.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.01509, allocations: 0.5436 MB / 392.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.01513, allocations: 99.75 kB / 392.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.0152, allocations: 21.91 kB / 393 MB, free: 9.125 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.01526, allocations: 90.19 kB / 393 MB, free: 9.035 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01526, allocations: 0 / 393 MB, free: 9.035 MB / 314.7 MB Notification: Performance of Templates: time 0.003389/0.01865, allocations: 1.698 MB / 394.7 MB, free: 7.348 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 -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: 3.1436850861646235]