Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007529/0.0007529, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001809, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007328/0.0007328, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009234/0.001656, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9578/0.9578, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08377/1.042, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.947e-05, allocations: 5.828 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004018/0.004037, allocations: 2.839 MB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.005633, allocations: 0.9652 MB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.005787, allocations: 4 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.005977, allocations: 67.42 kB / 248.6 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.006255, allocations: 103.1 kB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.006559, allocations: 115.7 kB / 248.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.006975, allocations: 366.5 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.007146, allocations: 79.94 kB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.007507, allocations: 236.2 kB / 249.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.007701, allocations: 119.6 kB / 249.6 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.007747, allocations: 31.94 kB / 249.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.007842, allocations: 32 kB / 249.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.007893, allocations: 51.81 kB / 249.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.007998, allocations: 87.81 kB / 249.8 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.008317, allocations: 215.2 kB / 250 MB, free: 8.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.008328, allocations: 0 / 250 MB, free: 8.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008329, allocations: 8 kB / 250 MB, free: 8.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.008341, allocations: 0 / 250 MB, free: 8.934 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.0008885/0.009229, allocations: 0.5776 MB / 250.6 MB, free: 8.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.009261, allocations: 12.03 kB / 250.6 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.009462, allocations: 130 kB / 250.7 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.009728, allocations: 186.2 kB / 250.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.009764, allocations: 25.03 kB / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.00981, allocations: 24.38 kB / 250.9 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.01014, allocations: 213 kB / 251.1 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01015, allocations: 192 / 251.1 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.01017, allocations: 12.31 kB / 251.1 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01018, allocations: 11.94 kB / 251.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.01033, allocations: 72.55 kB / 251.2 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.0114, allocations: 0.6496 MB / 251.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.01163, allocations: 124.6 kB / 252 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01174, allocations: 52.83 kB / 252.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.01177, allocations: 8 kB / 252.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.0118, allocations: 42.5 kB / 252.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.0118, allocations: 0 / 252.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003581/0.01538, allocations: 1.212 MB / 253.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.01544, allocations: 55.41 kB / 253.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.01561, allocations: 216.9 kB / 253.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01563, allocations: 33.7 kB / 253.6 MB, free: 5.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.01573, allocations: 172.4 kB / 253.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.01582, allocations: 126.9 kB / 253.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.01592, allocations: 66.05 kB / 254 MB, free: 4.715 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.01609, allocations: 350.6 kB / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.01617, allocations: 36.73 kB / 254.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.01628, allocations: 93.2 kB / 254.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.0165, allocations: 161.2 kB / 254.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.0165, allocations: 4 kB / 254.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008236/0.01732, allocations: 330.6 kB / 254.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01734, allocations: 8.094 kB / 254.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01735, allocations: 4 kB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.01851, allocations: 297.4 kB / 255.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.01878, allocations: 78.62 kB / 255.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.02183, allocations: 3.146 MB / 258.4 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.02197, allocations: 15.98 kB / 258.5 MB, free: 0 / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.022, allocations: 4.125 kB / 258.5 MB, free: 15.99 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.0001112/0.02211, allocations: 133.7 kB / 258.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.02217, allocations: 35.92 kB / 258.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.02223, allocations: 38.97 kB / 258.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02224, allocations: 4.031 kB / 258.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.02225, allocations: 7.984 kB / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.02225, allocations: 0 / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02343, allocations: 0.5751 MB / 259.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02343, allocations: 4 kB / 259.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.02363, allocations: 55 kB / 259.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.02366, allocations: 19.86 kB / 259.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.02492, allocations: 301.4 kB / 259.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.02494, allocations: 8 kB / 259.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.02773, allocations: 3.143 MB / 262.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.02774, allocations: 0 / 262.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.02866, allocations: 470.8 kB / 263.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.02869, allocations: 12 kB / 263.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.02884, allocations: 12 kB / 263.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.02892, allocations: 39.81 kB / 263.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.02893, allocations: 12.02 kB / 263.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.02901, allocations: 66.8 kB / 263.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02901, allocations: 0 / 263.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005678/0.02958, allocations: 104 kB / 263.5 MB, free: 10.73 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.0001048/0.02968, allocations: 92.34 kB / 263.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005607/0.03024, allocations: 449.9 kB / 264 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.03026, allocations: 7.984 kB / 264 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.03063, allocations: 389.6 kB / 264.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.031, allocations: 213.3 kB / 264.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.03428, allocations: 0.635 MB / 265.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.03437, allocations: 109.1 kB / 265.3 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.38e-05/0.03446, allocations: 22.97 kB / 265.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.03458, allocations: 79.36 kB / 265.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03458, allocations: 0 / 265.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of Templates: time 0.01007/0.04465, allocations: 5.96 MB / 271.4 MB, free: 2.688 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.711687134578824]