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.001382/0.001382, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001176/0.001176, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9202/0.9202, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.985e-05, allocations: 9.203 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002218/0.002238, allocations: 2.084 MB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.003062, allocations: 0.6386 MB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.003128, allocations: 0 / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.003179, allocations: 27.78 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.003288, allocations: 47.56 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.003589, allocations: 99.67 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.003763, allocations: 195.2 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.00388, allocations: 37.06 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.004071, allocations: 123.6 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.004149, allocations: 55.81 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.004173, allocations: 16 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.418e-05/0.004227, allocations: 35.92 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.004249, allocations: 31.91 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.004297, allocations: 59.83 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.004467, allocations: 127.5 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004469, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00447, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.004474, allocations: 0 / 276.5 MB, free: 13.86 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.0005039/0.004978, allocations: 499.8 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.005013, allocations: 11.98 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.00521, allocations: 56.81 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005383, allocations: 168.3 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005394, allocations: 8.359 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.005421, allocations: 12.38 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.005627, allocations: 197.2 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005636, allocations: 4.188 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.005655, allocations: 8.359 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005662, allocations: 3.938 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.005736, allocations: 37.39 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.006291, allocations: 466.5 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.0064, allocations: 59.03 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.006492, allocations: 43.67 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.006507, allocations: 7.938 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.006526, allocations: 33.39 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006527, allocations: 0 / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001929/0.00672, allocations: 89.72 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.006759, allocations: 106.8 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006868, allocations: 221.8 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006881, allocations: 25.7 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.007138, allocations: 162.7 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.007158, allocations: 27.73 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.007202, allocations: 43.36 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.007299, allocations: 0.4961 MB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.007336, allocations: 19.92 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.007406, allocations: 113.8 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.007483, allocations: 59.05 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007485, allocations: 0 / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000148/0.007633, allocations: 105.5 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.007647, allocations: 4 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.007652, allocations: 0 / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.007668, allocations: 4 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.008096, allocations: 87.97 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009475/0.009043, allocations: 1.886 MB / 281.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.009115, allocations: 15.94 kB / 281.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.009125, allocations: 4 kB / 281.5 MB, free: 8.418 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 7.338e-05/0.009198, allocations: 160.5 kB / 281.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.009228, allocations: 19.89 kB / 281.7 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.009415, allocations: 114.1 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009417, allocations: 0 / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.009419, allocations: 8.031 kB / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.009422, allocations: 0 / 281.8 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.009774, allocations: 408.5 kB / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.009775, allocations: 0 / 282.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.009847, allocations: 27.91 kB / 282.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.01002, allocations: 43.69 kB / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01003, allocations: 0 / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/0.01073, allocations: 1.744 MB / 284 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01073, allocations: 4 kB / 284 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01097, allocations: 287.2 kB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.01098, allocations: 11.91 kB / 284.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01099, allocations: 0 / 284.3 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.01106, allocations: 15.98 kB / 284.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.01109, allocations: 7.922 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.0111, allocations: 8 kB / 284.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.01116, allocations: 156 kB / 284.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 284.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01135, allocations: 43.94 kB / 284.5 MB, free: 5.156 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 7.868e-05/0.01143, allocations: 95.28 kB / 284.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.01174, allocations: 103.5 kB / 284.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01174, allocations: 0 / 284.7 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.01191, allocations: 204.7 kB / 284.9 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.01208, allocations: 19.94 kB / 285 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.01295, allocations: 434.8 kB / 285.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.01298, allocations: 67.34 kB / 285.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.01302, allocations: 16.48 kB / 285.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.01306, allocations: 16.48 kB / 285.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01306, allocations: 0 / 285.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of Templates: time 0.003588/0.01665, allocations: 1.808 MB / 287.3 MB, free: 2.332 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",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.6600464722141623]