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.0007982/0.0007982, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009882/0.001786, allocations: 449.7 kB / 10.37 MB, free: 324 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.001202/0.001202, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002444, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9447/0.9447, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08825/1.033, allocations: 53.86 MB / 243.7 MB, free: 14.93 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.392e-06/1.392e-06, allocations: 0 / 245 MB, free: 13.69 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.101e-05, allocations: 10.25 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.007467/0.007488, allocations: 2.831 MB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.009128, allocations: 0.9613 MB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.009291, allocations: 4 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.00946, allocations: 55.52 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.00971, allocations: 123 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.009986, allocations: 107.7 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.01035, allocations: 362.5 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.01353, allocations: 84.47 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.0139, allocations: 240.1 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.01407, allocations: 111.7 kB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.01411, allocations: 32 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.0142, allocations: 35.98 kB / 249.9 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.01424, allocations: 51.81 kB / 250 MB, free: 8.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.01434, allocations: 87.81 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.01465, allocations: 211.2 kB / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.01467, allocations: 0 / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01467, allocations: 0 / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.01469, allocations: 0 / 250.3 MB, free: 8.383 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.0008118/0.0155, allocations: 0.5893 MB / 250.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.01553, allocations: 8.922 kB / 250.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.01572, allocations: 130 kB / 251 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.01596, allocations: 186.1 kB / 251.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.01599, allocations: 21.03 kB / 251.2 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.01603, allocations: 32.38 kB / 251.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.01932, allocations: 213 kB / 251.4 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01933, allocations: 4.125 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.01935, allocations: 12.38 kB / 251.5 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01937, allocations: 15.92 kB / 251.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.01955, allocations: 64.56 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.02051, allocations: 0.638 MB / 252.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.02071, allocations: 126.4 kB / 252.3 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.02081, allocations: 56.83 kB / 252.3 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.02084, allocations: 4 kB / 252.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.02086, allocations: 34.56 kB / 252.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.874e-06/0.02086, allocations: 4 kB / 252.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.00498/0.02584, allocations: 1.198 MB / 253.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.02587, allocations: 59.39 kB / 253.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.026, allocations: 228.8 kB / 253.9 MB, free: 4.566 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.02602, allocations: 29.7 kB / 253.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.02608, allocations: 172.4 kB / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.02615, allocations: 126.9 kB / 254.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.02623, allocations: 66.05 kB / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.02632, allocations: 338.7 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.02638, allocations: 36.73 kB / 254.6 MB, free: 3.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.02646, allocations: 93.5 kB / 254.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.0266, allocations: 151.9 kB / 254.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.0266, allocations: 4 kB / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005648/0.02717, allocations: 342.6 kB / 255.2 MB, free: 3.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.02719, allocations: 4 kB / 255.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02719, allocations: 0 / 255.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/0.02793, allocations: 301.4 kB / 255.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.02812, allocations: 78.98 kB / 255.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.03028, allocations: 3.138 MB / 258.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.03037, allocations: 12 kB / 258.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.03038, allocations: 8 kB / 258.7 MB, free: 15.47 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 0.0001013/0.03048, allocations: 137.7 kB / 258.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.03052, allocations: 31.97 kB / 258.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.03057, allocations: 42.95 kB / 258.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.03057, allocations: 7.984 kB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.03058, allocations: 0 / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-06/0.03059, allocations: 0 / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.03146, allocations: 0.5688 MB / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03146, allocations: 4 kB / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.0316, allocations: 64.56 kB / 259.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.03163, allocations: 19.86 kB / 259.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/0.03229, allocations: 293.6 kB / 259.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.03231, allocations: 8 kB / 259.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.03408, allocations: 3.127 MB / 263 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03408, allocations: 0 / 263 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.03464, allocations: 486.4 kB / 263.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.03466, allocations: 8 kB / 263.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.03474, allocations: 12.03 kB / 263.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.03479, allocations: 35.88 kB / 263.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.0348, allocations: 4 kB / 263.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.03485, allocations: 74.72 kB / 263.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03485, allocations: 0 / 263.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.03516, allocations: 104 kB / 263.7 MB, free: 10.21 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 8.572e-05/0.03524, allocations: 92.39 kB / 263.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.03561, allocations: 450.3 kB / 264.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.03561, allocations: 4 kB / 264.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.03583, allocations: 378 kB / 264.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.03602, allocations: 52.47 kB / 264.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.03808, allocations: 0.639 MB / 265.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.03813, allocations: 105.1 kB / 265.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.03819, allocations: 18.3 kB / 265.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.03826, allocations: 79.36 kB / 265.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03826, allocations: 0 / 265.5 MB, free: 8.301 MB / 266.7 MB Notification: Performance of Templates: time 0.007097/0.04535, allocations: 6.338 MB / 271.9 MB, free: 1.984 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6529549211263657]