Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 142 kB / 24.89 MB, free: 9.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.064/1.064, allocations: 173.3 MB / 201.5 MB, free: 9.18 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.909e-05, allocations: 6.25 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003381/0.0034, allocations: 2.853 MB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.005005, allocations: 1.16 MB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.005133, allocations: 8 kB / 272.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.00608, allocations: 0.6415 MB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.006355, allocations: 138.9 kB / 273.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.007205, allocations: 0.6561 MB / 274 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.007547, allocations: 306.4 kB / 274.3 MB, free: 348 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.007875, allocations: 249.7 kB / 274.5 MB, free: 96 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.008085, allocations: 183.7 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.008248, allocations: 135.7 kB / 274.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.008278, allocations: 24 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.008577, allocations: 187.6 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.008614, allocations: 55.78 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.008685, allocations: 103.8 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.009077, allocations: 378.7 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.009079, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.009079, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.009083, allocations: 0 / 275.6 MB, free: 15.04 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.001015/0.0101, allocations: 0.6598 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01013, allocations: 12.92 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.01069, allocations: 180.6 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.01089, allocations: 168.9 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.0109, allocations: 21.03 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.01094, allocations: 40.38 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.01118, allocations: 241.4 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.0112, allocations: 192 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.01122, allocations: 19.94 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01123, allocations: 8 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.01134, allocations: 88.53 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.01259, allocations: 0.845 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.01282, allocations: 185.4 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.01287, allocations: 52.7 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.01294, allocations: 15.98 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.01297, allocations: 38.5 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.416e-06/0.01297, allocations: 0 / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005341/0.0135, allocations: 284.9 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.01353, allocations: 59.34 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.01361, allocations: 158.6 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.01362, allocations: 25.7 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.597e-05/0.01369, allocations: 184.2 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.01373, allocations: 91.3 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.01379, allocations: 49.92 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.01387, allocations: 326.8 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.0139, allocations: 28.55 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.01397, allocations: 96.05 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.01409, allocations: 144.1 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01409, allocations: 0 / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002389/0.01433, allocations: 212.6 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01435, allocations: 4 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01436, allocations: 0 / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.01456, allocations: 64.8 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.01466, allocations: 55.94 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.01569, allocations: 1.583 MB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.01577, allocations: 27.84 kB / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01578, allocations: 12 kB / 281.5 MB, free: 8.797 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 7.835e-05/0.01586, allocations: 133.7 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.01589, allocations: 15.98 kB / 281.6 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.01612, allocations: 190.4 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01612, allocations: 0 / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01613, allocations: 4 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01613, allocations: 4 kB / 281.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.01655, allocations: 399.4 kB / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01655, allocations: 0 / 282.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.01662, allocations: 31.92 kB / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.01677, allocations: 60.8 kB / 282.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01678, allocations: 8 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/0.01772, allocations: 1.587 MB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01772, allocations: 0 / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.01799, allocations: 295.2 kB / 284.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.01803, allocations: 35.77 kB / 284.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01804, allocations: 4 kB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.0181, allocations: 4 kB / 284.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.01813, allocations: 23.95 kB / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01814, allocations: 4.062 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.01817, allocations: 28.84 kB / 284.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01817, allocations: 0 / 284.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.01847, allocations: 103.8 kB / 284.4 MB, free: 5.738 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.00014/0.01861, allocations: 104.4 kB / 284.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.01918, allocations: 273.6 kB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.01918, allocations: 4 kB / 284.8 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01935, allocations: 210.7 kB / 285 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.01951, allocations: 35.88 kB / 285 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.02033, allocations: 0.5128 MB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.052e-05/0.02039, allocations: 92.33 kB / 285.6 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.02046, allocations: 25.94 kB / 285.6 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.02052, allocations: 67.36 kB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02052, allocations: 3.938 kB / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Templates: time 0.005048/0.02557, allocations: 2.877 MB / 288.6 MB, free: 1.473 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.829498229082674]