Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.0008768/0.0008768, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.002018, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007239/0.0007239, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.001666, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9507/0.9507, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0918/1.043, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.31e-05, allocations: 6.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003661/0.003684, allocations: 2.83 MB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.004963, allocations: 0.9653 MB / 249 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005099, allocations: 7.938 kB / 249 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.005276, allocations: 55.45 kB / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.005494, allocations: 111.1 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.005748, allocations: 115.7 kB / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.006043, allocations: 362.5 kB / 249.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.00619, allocations: 80.53 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.006479, allocations: 244.1 kB / 249.9 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.006621, allocations: 111.6 kB / 250 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.006654, allocations: 32 kB / 250.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.006725, allocations: 35.98 kB / 250.1 MB, free: 8.633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.00676, allocations: 47.81 kB / 250.2 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.006828, allocations: 91.81 kB / 250.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.007052, allocations: 219.2 kB / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.007062, allocations: 0 / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007063, allocations: 0 / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.007073, allocations: 0 / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006465/0.007719, allocations: 0.5854 MB / 251.1 MB, free: 7.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.007751, allocations: 8.922 kB / 251.1 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.007912, allocations: 130 kB / 251.2 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.008126, allocations: 186.2 kB / 251.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.00815, allocations: 21.03 kB / 251.4 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.008183, allocations: 24.38 kB / 251.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.00843, allocations: 213 kB / 251.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.00844, allocations: 4.125 kB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.008455, allocations: 12.38 kB / 251.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.008464, allocations: 11.94 kB / 251.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.008569, allocations: 76.55 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007435/0.009313, allocations: 0.6262 MB / 252.4 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.009481, allocations: 141.3 kB / 252.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.009556, allocations: 56.81 kB / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.009575, allocations: 4 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.009595, allocations: 42.5 kB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.009596, allocations: 0 / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002336/0.01193, allocations: 1.207 MB / 253.8 MB, free: 4.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.01196, allocations: 55.41 kB / 253.9 MB, free: 4.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01208, allocations: 224.8 kB / 254.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01211, allocations: 33.7 kB / 254.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.01217, allocations: 176.4 kB / 254.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/0.01224, allocations: 123 kB / 254.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.01231, allocations: 70.03 kB / 254.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.0124, allocations: 338.7 kB / 254.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.01245, allocations: 36.73 kB / 254.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.01253, allocations: 93.5 kB / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01267, allocations: 157.2 kB / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01268, allocations: 4 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005207/0.0132, allocations: 334.6 kB / 255.4 MB, free: 3.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01321, allocations: 4 kB / 255.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01322, allocations: 7.938 kB / 255.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007393/0.01396, allocations: 317.3 kB / 255.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01413, allocations: 67.89 kB / 255.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.0162, allocations: 3.139 MB / 258.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.693e-05/0.0163, allocations: 12 kB / 258.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01631, allocations: 8 kB / 259 MB, free: 15.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.0164, allocations: 137.6 kB / 259.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.01643, allocations: 32 kB / 259.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.01648, allocations: 46.95 kB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01648, allocations: 4 kB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.01649, allocations: 0 / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01649, allocations: 0 / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.01725, allocations: 0.579 MB / 259.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01725, allocations: 0 / 259.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.01738, allocations: 52.56 kB / 259.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.0174, allocations: 23.8 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007064/0.01811, allocations: 301.7 kB / 260.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01812, allocations: 11.98 kB / 260.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.02021, allocations: 3.123 MB / 263.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02022, allocations: 0 / 263.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.02085, allocations: 486.3 kB / 263.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.02087, allocations: 8 kB / 263.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.02095, allocations: 16.02 kB / 263.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.02102, allocations: 39.88 kB / 263.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.02103, allocations: 4 kB / 263.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.02108, allocations: 74.72 kB / 263.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02108, allocations: 0 / 263.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.02144, allocations: 104 kB / 264 MB, free: 10.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.253e-05/0.02153, allocations: 80.42 kB / 264 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.02199, allocations: 454.5 kB / 264.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.02201, allocations: 8 kB / 264.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.0223, allocations: 398.1 kB / 264.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.02255, allocations: 205.2 kB / 265.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.02477, allocations: 0.635 MB / 265.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.02484, allocations: 105.1 kB / 265.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.0249, allocations: 26.97 kB / 265.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.945e-05/0.02499, allocations: 87.3 kB / 265.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02499, allocations: 0 / 265.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of Templates: time 0.007605/0.0326, allocations: 5.957 MB / 271.9 MB, free: 2.023 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6869362089782953]