Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0008926/0.0008926, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009384/0.0009384, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8523/0.8523, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.159e-05, allocations: 6.312 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002753/0.002764, allocations: 2.828 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004123, allocations: 1.207 MB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004225, allocations: 8 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008134/0.005039, allocations: 0.657 MB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.005282, allocations: 150.8 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.005992, allocations: 0.6264 MB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.006261, allocations: 306.4 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.00653, allocations: 257.7 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.006701, allocations: 195.5 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.006834, allocations: 131.7 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.006864, allocations: 31.98 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.007085, allocations: 179.7 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.007121, allocations: 63.75 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.007183, allocations: 95.77 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.007515, allocations: 382.7 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.007517, allocations: 0 / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007518, allocations: 0 / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.007521, allocations: 0 / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008292/0.00835, allocations: 0.6598 MB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.008377, allocations: 12.03 kB / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.008818, allocations: 184.6 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.008972, allocations: 165.4 kB / 281.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.008989, allocations: 25.03 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.00902, allocations: 32.31 kB / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.009221, allocations: 241.6 kB / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.009232, allocations: 192 / 281.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.009249, allocations: 19.92 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.009256, allocations: 8 kB / 281.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.009361, allocations: 92.53 kB / 281.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01037, allocations: 0.8489 MB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.01059, allocations: 182.5 kB / 282.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.01064, allocations: 44.84 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.399e-05/0.0107, allocations: 23.91 kB / 283 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.01072, allocations: 34.56 kB / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.542e-06/0.01072, allocations: 0 / 283 MB, free: 7.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004826/0.0112, allocations: 284.1 kB / 283.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.01122, allocations: 55.34 kB / 283.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.01129, allocations: 161.8 kB / 283.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01131, allocations: 33.7 kB / 283.5 MB, free: 6.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.01137, allocations: 180.3 kB / 283.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.0114, allocations: 95.08 kB / 283.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.01146, allocations: 57.95 kB / 283.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.01152, allocations: 326.8 kB / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.01155, allocations: 24.55 kB / 284.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.0116, allocations: 92.69 kB / 284.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01171, allocations: 144.1 kB / 284.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01171, allocations: 0 / 284.4 MB, free: 5.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002066/0.01192, allocations: 208.6 kB / 284.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01193, allocations: 16.02 kB / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01194, allocations: 0 / 284.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.01211, allocations: 60.8 kB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.01219, allocations: 47.86 kB / 284.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008455/0.01303, allocations: 1.587 MB / 286.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.01309, allocations: 23.83 kB / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.0131, allocations: 8 kB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.01317, allocations: 133.7 kB / 286.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.0132, allocations: 15.98 kB / 286.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.0134, allocations: 175.4 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.0134, allocations: 4 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01341, allocations: 0 / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01341, allocations: 4 kB / 286.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.01378, allocations: 415.6 kB / 287.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01379, allocations: 3.938 kB / 287.1 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.01384, allocations: 24 kB / 287.1 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.01397, allocations: 64.73 kB / 287.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.01398, allocations: 4 kB / 287.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007663/0.01474, allocations: 1.587 MB / 288.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01474, allocations: 0 / 288.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.01497, allocations: 296.6 kB / 289.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.015, allocations: 27.83 kB / 289.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.01501, allocations: 0 / 289.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.01507, allocations: 8 kB / 289.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.01509, allocations: 19.91 kB / 289.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.01509, allocations: 8 kB / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.879e-05/0.01512, allocations: 49.14 kB / 289.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01512, allocations: 0 / 289.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.01538, allocations: 95.78 kB / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.01549, allocations: 108.3 kB / 289.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.01587, allocations: 277.7 kB / 289.7 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01588, allocations: 0 / 289.7 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.01601, allocations: 223.1 kB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08025/0.09626, allocations: 15.86 kB / 289.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.09711, allocations: 0.5064 MB / 290.4 MB, free: 22.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.09716, allocations: 88.41 kB / 290.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.09721, allocations: 26.39 kB / 290.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.09727, allocations: 66.42 kB / 290.6 MB, free: 22.54 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.09727, allocations: 1.062 kB / 290.6 MB, free: 22.54 MB / 266.7 MB Notification: Performance of Templates: time 0.004956/0.1022, allocations: 2.961 MB / 293.5 MB, free: 22.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.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.473153135739267]