Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.009674/0.009674, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 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.002539/0.002539, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 259 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 59.91 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2374, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004384/0.2418, allocations: 2.805 MB / 436 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.2435, allocations: 0.9618 MB / 436.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2437, allocations: 7.938 kB / 436.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.244, allocations: 59.44 kB / 437 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.2443, allocations: 115.2 kB / 437.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2447, allocations: 115.7 kB / 437.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.2451, allocations: 354.7 kB / 437.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2453, allocations: 80.5 kB / 437.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.2456, allocations: 147.4 kB / 437.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2458, allocations: 151.3 kB / 437.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.2459, allocations: 32 kB / 438 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.246, allocations: 36 kB / 438 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.246, allocations: 63.77 kB / 438.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.2462, allocations: 159.2 kB / 438.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.2466, allocations: 366.2 kB / 438.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2466, allocations: 4 kB / 438.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2466, allocations: 0 / 438.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2466, allocations: 0 / 438.6 MB, free: 1.52 MB / 334.1 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.001048/0.2477, allocations: 0.5403 MB / 439.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2477, allocations: 12.03 kB / 439.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2479, allocations: 36.75 kB / 439.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.2483, allocations: 218.8 kB / 439.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2483, allocations: 21.03 kB / 439.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2484, allocations: 24.38 kB / 439.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.2489, allocations: 254.4 kB / 439.7 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2489, allocations: 3.938 kB / 439.7 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2489, allocations: 12 kB / 439.7 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2489, allocations: 8 kB / 439.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.2494, allocations: 214.5 kB / 439.9 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.251, allocations: 0.9597 MB / 440.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2515, allocations: 194.4 kB / 441.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.2517, allocations: 112.7 kB / 441.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2518, allocations: 0 / 441.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.2518, allocations: 34.56 kB / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.172e-06/0.2518, allocations: 3.938 kB / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005112/0.2569, allocations: 1.404 MB / 442.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.2569, allocations: 59.34 kB / 442.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2572, allocations: 233 kB / 442.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2572, allocations: 33.7 kB / 442.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2574, allocations: 188.4 kB / 443.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2575, allocations: 126.9 kB / 443.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2576, allocations: 62.08 kB / 443.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2577, allocations: 338.8 kB / 443.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.258, allocations: 108.7 kB / 443.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.2583, allocations: 165.4 kB / 443.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.2588, allocations: 283.6 kB / 444.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2588, allocations: 8 kB / 444.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001597/0.2604, allocations: 0.5255 MB / 444.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2604, allocations: 8 kB / 444.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2604, allocations: 0 / 444.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.2617, allocations: 241.4 kB / 445 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.262, allocations: 63.89 kB / 445 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.267, allocations: 3.93 MB / 449 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2672, allocations: 20.03 kB / 449 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2672, allocations: 12 kB / 449 MB, free: 6.605 MB / 350.1 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.0001846/0.2674, allocations: 149.7 kB / 449.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.2675, allocations: 27.86 kB / 449.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.666e-05/0.2676, allocations: 46.94 kB / 449.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2676, allocations: 8 kB / 449.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2676, allocations: 0 / 449.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2676, allocations: 3.984 kB / 449.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2698, allocations: 0.9492 MB / 450.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2698, allocations: 4 kB / 450.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.27, allocations: 39.91 kB / 450.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.2712, allocations: 245.5 kB / 450.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2712, allocations: 7.984 kB / 450.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/0.2759, allocations: 3.911 MB / 454.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2759, allocations: 3.938 kB / 454.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.2778, allocations: 0.7207 MB / 455.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2779, allocations: 23.89 kB / 455.1 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.2779, allocations: 11.94 kB / 455.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2781, allocations: 11.98 kB / 455.1 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.2782, allocations: 36 kB / 455.2 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2782, allocations: 16 kB / 455.2 MB, free: 68 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2784, allocations: 164.5 kB / 455.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 3.938 kB / 455.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.279, allocations: 104 kB / 455.5 MB, free: 15.8 MB / 366.1 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.0001238/0.2791, allocations: 104.5 kB / 455.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.2801, allocations: 0.5517 MB / 456.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2801, allocations: 0 / 456.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.2807, allocations: 421.4 kB / 456.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2811, allocations: 24.44 kB / 456.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2824, allocations: 0.7385 MB / 457.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2828, allocations: 0.7878 MB / 458.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.2829, allocations: 23.42 kB / 458.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2829, allocations: 0 / 458.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Templates: time 0.008772/0.2917, allocations: 6.137 MB / 464.2 MB, free: 6.898 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.954497077967972]