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.0009721/0.0009721, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001515/0.001515, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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 1.02/1.02, allocations: 173.3 MB / 201.1 MB, free: 9.352 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.723e-06/1.723e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.683e-05, allocations: 2.312 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003438/0.003465, allocations: 2.787 MB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004803, allocations: 0.8527 MB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.004992, allocations: 4 kB / 271.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.005272, allocations: 59.44 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.005572, allocations: 103.2 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.005827, allocations: 99.73 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.006194, allocations: 366.5 kB / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.006357, allocations: 74.92 kB / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.006599, allocations: 203.5 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.00675, allocations: 115.7 kB / 272.6 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.006787, allocations: 32 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-05/0.00682, allocations: 28 kB / 272.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.006865, allocations: 71.69 kB / 272.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.006952, allocations: 103.7 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.00723, allocations: 243.1 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.007234, allocations: 0 / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007235, allocations: 0 / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.00724, allocations: 0 / 273.1 MB, free: 1.32 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.0007559/0.007996, allocations: 0.6285 MB / 273.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.008036, allocations: 8.031 kB / 273.7 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.008122, allocations: 52.75 kB / 273.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.008382, allocations: 211.8 kB / 274 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.008412, allocations: 21.03 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.008459, allocations: 24.38 kB / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.008801, allocations: 241 kB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.008812, allocations: 4.125 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.008834, allocations: 8.375 kB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.008849, allocations: 11.94 kB / 274.3 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.00905, allocations: 111.9 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.0101, allocations: 0.8242 MB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.01036, allocations: 154 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.0105, allocations: 71.66 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.01053, allocations: 4 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01056, allocations: 49.31 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.01056, allocations: 0 / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002689/0.01325, allocations: 1.205 MB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003084/0.01356, allocations: 55.41 kB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.01373, allocations: 274.6 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.01375, allocations: 33.7 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.01385, allocations: 231.2 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.01392, allocations: 123 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.01401, allocations: 79.72 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01414, allocations: 0.5117 MB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.01424, allocations: 56.66 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01437, allocations: 125.1 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.0146, allocations: 197.9 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.0146, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007599/0.01536, allocations: 443.7 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01539, allocations: 8 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01539, allocations: 0 / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009577/0.01635, allocations: 314.9 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01651, allocations: 59.97 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.01968, allocations: 4.595 MB / 283.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.0198, allocations: 12 kB / 283.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.01981, allocations: 8 kB / 283.8 MB, free: 6.055 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.0004001/0.02021, allocations: 180.5 kB / 284 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.02026, allocations: 35.81 kB / 284 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.0203, allocations: 46.64 kB / 284 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.02031, allocations: 4 kB / 284 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.02032, allocations: 3.938 kB / 284.1 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.02032, allocations: 8.016 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02138, allocations: 0.7883 MB / 284.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02138, allocations: 0 / 284.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.02149, allocations: 47.91 kB / 284.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/0.02233, allocations: 311.3 kB / 285.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.02235, allocations: 8 kB / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.02519, allocations: 4.6 MB / 289.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02519, allocations: 0 / 289.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.02604, allocations: 0.6034 MB / 290.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.02608, allocations: 31.73 kB / 290.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.0261, allocations: 8 kB / 290.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.02619, allocations: 12 kB / 290.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.02629, allocations: 31.88 kB / 290.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.0263, allocations: 8 kB / 290.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.02642, allocations: 194.9 kB / 290.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02642, allocations: 0 / 290.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000425/0.02685, allocations: 100 kB / 290.8 MB, free: 14.69 MB / 282.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.0001075/0.02696, allocations: 103.2 kB / 290.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000962/0.02792, allocations: 0.5866 MB / 291.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02792, allocations: 4.25 kB / 291.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.02827, allocations: 499 kB / 292 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.02852, allocations: 28.67 kB / 292 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02966, allocations: 0.6464 MB / 292.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.02975, allocations: 101.1 kB / 292.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.02981, allocations: 18.3 kB / 292.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.02985, allocations: 20.5 kB / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02985, allocations: 0 / 292.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Templates: time 0.007986/0.03783, allocations: 5.907 MB / 298.7 MB, free: 6.66 MB / 282.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: 3.121736016124487]