Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001043/0.001043, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001144/0.001144, allocations: 150.5 kB / 24.81 MB, free: 9.285 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 0.9524/0.9524, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.246e-05, allocations: 6.25 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003037/0.003059, allocations: 2.74 MB / 271.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004207, allocations: 0.8489 MB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.004337, allocations: 4 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.004545, allocations: 55.44 kB / 272 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.004773, allocations: 111.1 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.00497, allocations: 99.75 kB / 272.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.005244, allocations: 362.4 kB / 272.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.00539, allocations: 74.94 kB / 272.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.00562, allocations: 203.6 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.005752, allocations: 111.7 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.005788, allocations: 28 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.005824, allocations: 31.94 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.005869, allocations: 75.67 kB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.006205, allocations: 103.8 kB / 273.2 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.006422, allocations: 247 kB / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006425, allocations: 0 / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006425, allocations: 0 / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006429, allocations: 0 / 273.5 MB, free: 1.109 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.0006146/0.007044, allocations: 0.6324 MB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.007082, allocations: 8.031 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.007136, allocations: 52.75 kB / 274.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.007321, allocations: 208 kB / 274.4 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.007343, allocations: 21.03 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.007375, allocations: 24.38 kB / 274.4 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.007611, allocations: 213 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00762, allocations: 192 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.007635, allocations: 12.38 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.007644, allocations: 7.938 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.00775, allocations: 88.52 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.008683, allocations: 0.7935 MB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.008879, allocations: 137.3 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.008996, allocations: 71.69 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.009023, allocations: 4 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.009048, allocations: 37.39 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.883e-06/0.00905, allocations: 0 / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002257/0.01131, allocations: 1.134 MB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.01134, allocations: 55.41 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.0115, allocations: 274.5 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.01152, allocations: 29.7 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.01162, allocations: 231.2 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.01169, allocations: 123 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.01178, allocations: 83.64 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01191, allocations: 0.5117 MB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.01197, allocations: 36.72 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.01206, allocations: 117.1 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.01222, allocations: 173.9 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.01222, allocations: 4 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006315/0.01286, allocations: 403.7 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01287, allocations: 8 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01288, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.01368, allocations: 307 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.01381, allocations: 59.91 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.01644, allocations: 4.508 MB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.01654, allocations: 15.98 kB / 283.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01655, allocations: 4 kB / 283.8 MB, free: 6.234 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.000103/0.01665, allocations: 188.4 kB / 284 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01669, allocations: 31.86 kB / 284 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01673, allocations: 46.64 kB / 284.1 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01674, allocations: 4 kB / 284.1 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.01674, allocations: 0 / 284.1 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01675, allocations: 0 / 284.1 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.01765, allocations: 0.7457 MB / 284.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01765, allocations: 0 / 284.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.01775, allocations: 44.05 kB / 284.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.0185, allocations: 303 kB / 285.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01852, allocations: 7.984 kB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.02112, allocations: 4.5 MB / 289.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.02112, allocations: 3.938 kB / 289.7 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1138/0.135, allocations: 0.5635 MB / 290.2 MB, free: 27.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.135, allocations: 22.72 kB / 290.2 MB, free: 27.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.135, allocations: 7.875 kB / 290.2 MB, free: 27.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1351, allocations: 12.22 kB / 290.3 MB, free: 27.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1352, allocations: 40.61 kB / 290.3 MB, free: 27.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1353, allocations: 7.734 kB / 290.3 MB, free: 27.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.1354, allocations: 181.5 kB / 290.5 MB, free: 27.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1354, allocations: 0 / 290.5 MB, free: 27.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004736/0.1358, allocations: 101.8 kB / 290.6 MB, free: 27.68 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 0.0001318/0.136, allocations: 105.1 kB / 290.7 MB, free: 27.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.1366, allocations: 0.5634 MB / 291.2 MB, free: 27.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.1366, allocations: 2.688 kB / 291.3 MB, free: 27.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.1369, allocations: 0.4901 MB / 291.7 MB, free: 26.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1372, allocations: 23.53 kB / 291.8 MB, free: 26.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1383, allocations: 0.6236 MB / 292.4 MB, free: 26.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.1384, allocations: 105.2 kB / 292.5 MB, free: 26.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.1385, allocations: 19.97 kB / 292.5 MB, free: 26.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.1385, allocations: 97.05 kB / 292.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1385, allocations: 0 / 292.6 MB, free: 26.43 MB / 266.7 MB Notification: Performance of Templates: time 0.009973/0.1485, allocations: 6.207 MB / 298.8 MB, free: 25.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9170287093147635]