Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.0009282/0.0009282, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001014/0.001014, allocations: 170 kB / 24.92 MB, free: 9.184 MB / 18.57 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.9167/0.9167, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.596e-05, allocations: 6.312 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002969/0.002985, allocations: 2.066 MB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004096, allocations: 0.658 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.004181, allocations: 0 / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.106e-05/0.004242, allocations: 23.78 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.00438, allocations: 43.58 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.00475, allocations: 107.7 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.004958, allocations: 187.2 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.005068, allocations: 34.44 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.005257, allocations: 127.6 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.005335, allocations: 63.8 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.005359, allocations: 16 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.005412, allocations: 20 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.005438, allocations: 39.83 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.005484, allocations: 55.89 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.005651, allocations: 139.5 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005653, allocations: 0 / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005654, allocations: 0 / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.005657, allocations: 0 / 277 MB, free: 13.7 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.0004116/0.006069, allocations: 368.1 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.0061, allocations: 8.031 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.006286, allocations: 56.89 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.006426, allocations: 148 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.006436, allocations: 12.31 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.006459, allocations: 12.38 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.006632, allocations: 180.7 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006641, allocations: 4.188 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.006651, allocations: 384 / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.006657, allocations: 3.938 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.006711, allocations: 31.97 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.007155, allocations: 327 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.007234, allocations: 46.48 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.007302, allocations: 32.84 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.007314, allocations: 4 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.007331, allocations: 30.56 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.007332, allocations: 4 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001264/0.007459, allocations: 69.61 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.007497, allocations: 110.8 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.007578, allocations: 153.4 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007592, allocations: 29.7 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.007646, allocations: 119.9 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.007663, allocations: 19.8 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.007701, allocations: 29.69 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.007775, allocations: 326.8 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.007796, allocations: 11.98 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.007855, allocations: 99.67 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.00791, allocations: 50.52 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007912, allocations: 0 / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.929e-05/0.008001, allocations: 77.59 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.008012, allocations: 8 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008016, allocations: 0 / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.008026, allocations: 3.984 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.008303, allocations: 79.95 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.008991, allocations: 1.279 MB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.009051, allocations: 11.95 kB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.009058, allocations: 160 / 280.7 MB, free: 9.691 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 6.715e-05/0.009125, allocations: 125.8 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.009145, allocations: 8 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.00929, allocations: 107.1 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-07/0.009291, allocations: 0 / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.009292, allocations: 0 / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.009294, allocations: 4 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.009573, allocations: 280.3 kB / 281.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.009575, allocations: 3.984 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.009642, allocations: 19.98 kB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.00979, allocations: 32.83 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.009798, allocations: 7.938 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/0.01031, allocations: 1.166 MB / 282.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01031, allocations: 0 / 282.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.01048, allocations: 209.6 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01049, allocations: 7.953 kB / 282.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.0105, allocations: 8.156 kB / 282.7 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.01057, allocations: 11.92 kB / 282.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.01059, allocations: 11.98 kB / 282.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.0106, allocations: 0 / 282.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.01062, allocations: 38.34 kB / 282.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 0 / 282.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000154/0.01078, allocations: 47.89 kB / 282.8 MB, free: 7.453 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.791e-05/0.01086, allocations: 84.34 kB / 282.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.0111, allocations: 96.77 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01111, allocations: 4 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01123, allocations: 146.6 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.01135, allocations: 8.219 kB / 283.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.01207, allocations: 420.2 kB / 283.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.01211, allocations: 71.33 kB / 283.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.01214, allocations: 12.58 kB / 283.6 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.01222, allocations: 71.34 kB / 283.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01222, allocations: 0 / 283.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of Templates: time 0.003368/0.01559, allocations: 1.871 MB / 285.6 MB, free: 4.633 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.528615237213671]