Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001403/0.001403, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.001639/0.001639, allocations: 179.9 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 55.92 kB / 347.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3407, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004582/0.3453, allocations: 2.005 MB / 398.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3467, allocations: 0.6243 MB / 399.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.215e-05/0.3468, allocations: 1.469 kB / 399.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.624e-05/0.3468, allocations: 23.81 kB / 399.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.347, allocations: 48.38 kB / 399.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.3475, allocations: 83.11 kB / 399.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3478, allocations: 184.5 kB / 399.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.348, allocations: 36.8 kB / 399.8 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.3482, allocations: 82.83 kB / 399.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3484, allocations: 81.67 kB / 400 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.3484, allocations: 14.97 kB / 400 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.3485, allocations: 16.06 kB / 400 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.3485, allocations: 31.16 kB / 400 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3486, allocations: 78.61 kB / 400.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.349, allocations: 174 kB / 400.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.349, allocations: 0 / 400.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.349, allocations: 2.094 kB / 400.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.349, allocations: 0 / 400.3 MB, free: 7.258 MB / 318.1 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.001017/0.35, allocations: 406.6 kB / 400.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.3501, allocations: 13.83 kB / 400.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.3501, allocations: 21 kB / 400.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3503, allocations: 142.5 kB / 400.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3503, allocations: 9.312 kB / 400.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.3504, allocations: 13.66 kB / 400.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.3509, allocations: 152.9 kB / 401 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3509, allocations: 7.938 kB / 401 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3509, allocations: 2.047 kB / 401 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3509, allocations: 2.875 kB / 401 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3514, allocations: 96.03 kB / 401.1 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.3528, allocations: 481.5 kB / 401.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.3533, allocations: 108.6 kB / 401.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.3536, allocations: 58.7 kB / 401.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.3536, allocations: 5.953 kB / 401.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.3537, allocations: 39.66 kB / 401.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.867e-06/0.3537, allocations: 3.984 kB / 401.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008198/0.3545, allocations: 155.5 kB / 402 MB, free: 6.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.3546, allocations: 108.8 kB / 402.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3548, allocations: 151.5 kB / 402.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3549, allocations: 27.34 kB / 402.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.355, allocations: 128.4 kB / 402.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.355, allocations: 28.62 kB / 402.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.3551, allocations: 28.67 kB / 402.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3552, allocations: 324 kB / 402.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3554, allocations: 41.33 kB / 402.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.3557, allocations: 77.05 kB / 402.9 MB, free: 5.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.3561, allocations: 101 kB / 403 MB, free: 5.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3561, allocations: 1.094 kB / 403 MB, free: 5.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005063/0.3566, allocations: 137 kB / 403.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.3566, allocations: 10.66 kB / 403.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3566, allocations: 7.969 kB / 403.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3566, allocations: 1.406 kB / 403.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.3575, allocations: 84.61 kB / 403.2 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.3591, allocations: 1.396 MB / 404.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3593, allocations: 27.25 kB / 404.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3594, allocations: 10.02 kB / 404.6 MB, free: 3.695 MB / 318.1 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.0001157/0.3595, allocations: 120.7 kB / 404.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3595, allocations: 13.28 kB / 404.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/0.3601, allocations: 160.1 kB / 404.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3601, allocations: 0.9375 kB / 404.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3601, allocations: 3.938 kB / 404.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3602, allocations: 1.844 kB / 404.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.3611, allocations: 434.8 kB / 405.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3611, allocations: 0 / 405.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3613, allocations: 23.91 kB / 405.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.3616, allocations: 32.17 kB / 405.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3616, allocations: 1.094 kB / 405.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.3629, allocations: 1.298 MB / 406.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.3629, allocations: 9.656 kB / 406.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.3638, allocations: 295.2 kB / 407 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.3638, allocations: 9.844 kB / 407 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3638, allocations: 5.547 kB / 407 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3641, allocations: 21.25 kB / 407 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3641, allocations: 8.109 kB / 407 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3641, allocations: 2.188 kB / 407.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3643, allocations: 121.8 kB / 407.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3643, allocations: 0 / 407.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.3648, allocations: 45.11 kB / 407.2 MB, free: 1.508 MB / 318.1 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.000136/0.3649, allocations: 94.52 kB / 407.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009888/0.3659, allocations: 140 kB / 407.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3659, allocations: 0 / 407.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.3663, allocations: 167.2 kB / 407.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3667, allocations: 8.312 kB / 407.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3688, allocations: 0.5415 MB / 408.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3691, allocations: 0.71 MB / 408.9 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.3691, allocations: 13.56 kB / 408.9 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3692, allocations: 15.67 kB / 408.9 MB, free: 236 kB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3692, allocations: 0 / 408.9 MB, free: 236 kB / 318.1 MB Notification: Performance of Templates: time 0.008425/0.3776, allocations: 1.732 MB / 410.6 MB, free: 24 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.027285574004054]