Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001388/0.001388, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.001504/0.001504, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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 1.453/1.453, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.275e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003405/0.003428, allocations: 1.988 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004709, allocations: 0.6191 MB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.004782, allocations: 4 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.196e-05/0.004844, allocations: 19.78 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.004988, allocations: 47.56 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.005394, allocations: 99.73 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.005658, allocations: 199.1 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.005788, allocations: 29.8 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.006055, allocations: 123.7 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.006174, allocations: 59.8 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.006213, allocations: 16 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.006288, allocations: 31.91 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.006327, allocations: 27.92 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.006409, allocations: 59.83 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006686, allocations: 187.3 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006688, allocations: 0 / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.00669, allocations: 8 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.006695, allocations: 0 / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008547/0.00755, allocations: 405.5 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.007587, allocations: 11.98 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.008006, allocations: 64.8 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.008303, allocations: 161.5 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.00832, allocations: 8.375 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.00836, allocations: 12.38 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.008744, allocations: 202.2 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.008755, allocations: 4.188 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.008778, allocations: 8.375 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.008785, allocations: 3.938 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.009081, allocations: 95.88 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008896/0.00997, allocations: 435.3 kB / 277.1 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.01029, allocations: 94.53 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.0105, allocations: 60.83 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.01051, allocations: 4 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.01055, allocations: 38.56 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.01055, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000515/0.01107, allocations: 145.5 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.01115, allocations: 106.8 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.01132, allocations: 166.2 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.01135, allocations: 29.7 kB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.01145, allocations: 123.8 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.01149, allocations: 35.88 kB / 277.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.01155, allocations: 33.7 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.01172, allocations: 318.8 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.01187, allocations: 43.97 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.01208, allocations: 131.6 kB / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.01235, allocations: 102.5 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01235, allocations: 0 / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003718/0.01272, allocations: 145.6 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01274, allocations: 8 kB / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01275, allocations: 0 / 278.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01276, allocations: 3.984 kB / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.01338, allocations: 83.86 kB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.01502, allocations: 1.37 MB / 280.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.01521, allocations: 16.02 kB / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01523, allocations: 7.984 kB / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.01535, allocations: 126 kB / 280.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.0154, allocations: 15.84 kB / 280.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.01591, allocations: 159.2 kB / 280.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01592, allocations: 4.031 kB / 280.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01592, allocations: 7.984 kB / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01592, allocations: 4 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.01671, allocations: 387.7 kB / 280.8 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01671, allocations: 0 / 280.8 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.01686, allocations: 23.98 kB / 280.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.01716, allocations: 44.8 kB / 280.9 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01718, allocations: 7.984 kB / 280.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.0185, allocations: 1.264 MB / 282.2 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.01851, allocations: 3.938 kB / 282.2 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.01918, allocations: 297 kB / 282.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.01921, allocations: 16.12 kB / 282.5 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01923, allocations: 0 / 282.5 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.01941, allocations: 19.98 kB / 282.5 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.01945, allocations: 11.92 kB / 282.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01946, allocations: 0 / 282.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.01957, allocations: 119.2 kB / 282.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01957, allocations: 0 / 282.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000314/0.01988, allocations: 47.83 kB / 282.7 MB, free: 6.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.02001, allocations: 99.25 kB / 282.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007321/0.02075, allocations: 131.8 kB / 282.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02075, allocations: 0 / 282.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.02109, allocations: 165.8 kB / 283 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.02134, allocations: 15.92 kB / 283.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.02289, allocations: 499.9 kB / 283.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.02299, allocations: 97.61 kB / 283.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.02305, allocations: 16.47 kB / 283.7 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.0231, allocations: 20.5 kB / 283.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0231, allocations: 0 / 283.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of Templates: time 0.005379/0.02848, allocations: 1.788 MB / 285.5 MB, free: 3.895 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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: 4.1346329459920526]