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.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.00174/0.00174, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 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.002133/0.002133, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.62/1.62, allocations: 207.6 MB / 236 MB, free: 9.977 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 51.92 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4018, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004208/0.406, allocations: 2.009 MB / 399.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.4073, allocations: 0.6192 MB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4074, allocations: 1.219 kB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.338e-05/0.4075, allocations: 23.73 kB / 400.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.4077, allocations: 44.61 kB / 400.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.4081, allocations: 95.86 kB / 400.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.4084, allocations: 180.8 kB / 400.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.4085, allocations: 36.22 kB / 400.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.4088, allocations: 83.55 kB / 400.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.4089, allocations: 77.38 kB / 400.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.409, allocations: 16.03 kB / 400.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.409, allocations: 15 kB / 400.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.409, allocations: 38.86 kB / 400.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.4091, allocations: 78.41 kB / 400.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.4094, allocations: 174.6 kB / 401.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4095, allocations: 0.5625 kB / 401.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4095, allocations: 0 / 401.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4095, allocations: 0 / 401.1 MB, free: 7.246 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.0009934/0.4105, allocations: 412 kB / 401.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.4105, allocations: 17.02 kB / 401.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.4106, allocations: 16.91 kB / 401.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4108, allocations: 142.5 kB / 401.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4108, allocations: 8.312 kB / 401.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.4108, allocations: 11.14 kB / 401.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.4112, allocations: 157.1 kB / 401.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4112, allocations: 1.062 kB / 401.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.4112, allocations: 1.438 kB / 401.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4112, allocations: 6.547 kB / 401.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.4115, allocations: 91.05 kB / 401.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4127, allocations: 490.4 kB / 402.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.413, allocations: 102.9 kB / 402.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.4132, allocations: 60.94 kB / 402.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4133, allocations: 1.156 kB / 402.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4133, allocations: 43.78 kB / 402.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.4133, allocations: 0 / 402.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005373/0.4138, allocations: 146.7 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.4139, allocations: 104.4 kB / 402.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4141, allocations: 157.6 kB / 403 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4141, allocations: 29.7 kB / 403 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.269e-05/0.4142, allocations: 125.2 kB / 403.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.4142, allocations: 33.14 kB / 403.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.4143, allocations: 27.58 kB / 403.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.4144, allocations: 325.3 kB / 403.5 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4145, allocations: 36.66 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.4147, allocations: 80.59 kB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.4149, allocations: 98.08 kB / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4149, allocations: 0 / 403.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003571/0.4153, allocations: 157.8 kB / 403.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4153, allocations: 9.312 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4153, allocations: 1.344 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.4153, allocations: 1.562 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.416, allocations: 84.55 kB / 404 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.4173, allocations: 1.397 MB / 405.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4175, allocations: 21.45 kB / 405.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4175, allocations: 15.16 kB / 405.4 MB, free: 3.684 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.000127/0.4176, allocations: 128.3 kB / 405.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.4177, allocations: 13.59 kB / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.4182, allocations: 150.9 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4182, allocations: 2.125 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.4182, allocations: 7.938 kB / 405.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4182, allocations: 0.5625 kB / 405.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.419, allocations: 429.9 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.419, allocations: 3.078 kB / 406.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.4191, allocations: 24.55 kB / 406.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.4194, allocations: 29 kB / 406.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4194, allocations: 2.453 kB / 406.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009195/0.4203, allocations: 1.294 MB / 407.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4203, allocations: 5.766 kB / 407.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.421, allocations: 298.2 kB / 407.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.421, allocations: 9.078 kB / 407.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.421, allocations: 6.859 kB / 407.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4212, allocations: 16.66 kB / 407.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.4212, allocations: 11.08 kB / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.4213, allocations: 2.344 kB / 407.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4214, allocations: 123.8 kB / 408 MB, free: 1.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4214, allocations: 4.062 kB / 408 MB, free: 1.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.4217, allocations: 43.55 kB / 408 MB, free: 1.496 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.0001444/0.4219, allocations: 95.81 kB / 408.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.4227, allocations: 134.4 kB / 408.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4227, allocations: 0 / 408.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.4231, allocations: 158.8 kB / 408.4 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.0002722/0.4233, allocations: 11.81 kB / 408.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.4252, allocations: 0.5728 MB / 409 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.4254, allocations: 0.7137 MB / 409.7 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.4254, allocations: 15.11 kB / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4254, allocations: 0 / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of Templates: time 0.006493/0.4319, allocations: 2.215 MB / 411.9 MB, free: 15.7 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/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: 7.925455088960007]