Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001667/0.001667, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.00253/0.00253, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 60.77 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3399, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004341/0.3442, allocations: 2.076 MB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3456, allocations: 0.666 MB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.3457, allocations: 4 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.631e-05/0.3458, allocations: 23.78 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.3459, allocations: 43.64 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.3463, allocations: 110.9 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.3466, allocations: 187.3 kB / 435.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3468, allocations: 29.73 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.347, allocations: 95.62 kB / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3471, allocations: 75.69 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.3472, allocations: 20 kB / 435.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.3473, allocations: 20 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.472e-05/0.3473, allocations: 39.83 kB / 435.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3474, allocations: 79.59 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.3478, allocations: 185 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3478, allocations: 0 / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3478, allocations: 0 / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3478, allocations: 0 / 436.1 MB, free: 3.316 MB / 334.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.000953/0.3487, allocations: 401.5 kB / 436.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3488, allocations: 16.02 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.3492, allocations: 52.81 kB / 436.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3496, allocations: 162.2 kB / 436.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3496, allocations: 8.375 kB / 436.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.3496, allocations: 12.38 kB / 436.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.35, allocations: 144.4 kB / 436.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.35, allocations: 0 / 436.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.35, allocations: 12 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.35, allocations: 0 / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3503, allocations: 95.88 kB / 436.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3513, allocations: 490.4 kB / 437.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.3517, allocations: 102.5 kB / 437.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3519, allocations: 64.83 kB / 437.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3519, allocations: 0 / 437.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.352, allocations: 46.48 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.352, allocations: 3.938 kB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005268/0.3525, allocations: 141.5 kB / 437.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.3526, allocations: 106.8 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.3528, allocations: 154.2 kB / 438 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3528, allocations: 29.7 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3529, allocations: 127.8 kB / 438.2 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3529, allocations: 27.75 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.353, allocations: 33.69 kB / 438.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3532, allocations: 322.8 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3533, allocations: 35.97 kB / 438.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3535, allocations: 76.27 kB / 438.7 MB, free: 496 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3538, allocations: 107 kB / 438.8 MB, free: 380 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3538, allocations: 4 kB / 438.8 MB, free: 376 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000362/0.3541, allocations: 149.5 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3541, allocations: 10.91 kB / 438.9 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3541, allocations: 0 / 438.9 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3542, allocations: 0 / 438.9 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.3548, allocations: 83.86 kB / 439 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.3565, allocations: 1.404 MB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3567, allocations: 16.02 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3567, allocations: 3.938 kB / 440.4 MB, free: 14.58 MB / 350.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.0001409/0.3568, allocations: 125.8 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3568, allocations: 11.91 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3573, allocations: 159.2 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3573, allocations: 3.984 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3573, allocations: 3.938 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3573, allocations: 4 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.3582, allocations: 435.1 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3582, allocations: 0 / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3583, allocations: 27.91 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.3586, allocations: 28.88 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3586, allocations: 7.984 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.3599, allocations: 1.291 MB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3599, allocations: 3.938 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.3606, allocations: 305.1 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.3606, allocations: 7.984 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3606, allocations: 7.938 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3608, allocations: 20.05 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3608, allocations: 7.984 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3608, allocations: 0 / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3609, allocations: 124.1 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3609, allocations: 3.938 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.3612, allocations: 39.89 kB / 443 MB, free: 11.78 MB / 350.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.0001291/0.3614, allocations: 103.2 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007298/0.3621, allocations: 131.8 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3621, allocations: 8 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.3625, allocations: 154.7 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3627, allocations: 12.22 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3644, allocations: 0.5453 MB / 444 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3649, allocations: 0.7158 MB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.3649, allocations: 12.48 kB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.365, allocations: 15.44 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.365, allocations: 0 / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Templates: time 0.005364/0.3703, allocations: 1.735 MB / 446.4 MB, free: 8.281 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.91790203936398]