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.001478/0.001478, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001563/0.001563, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001931/0.001931, allocations: 59.89 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2503, allocations: 53.41 MB / 431.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003552/0.2538, allocations: 1.98 MB / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.255, allocations: 0.6194 MB / 434.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.2551, allocations: 4 kB / 434.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.2552, allocations: 19.78 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2553, allocations: 47.62 kB / 434.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2557, allocations: 103.8 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2559, allocations: 187.2 kB / 434.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2561, allocations: 41.33 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2563, allocations: 87.69 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2564, allocations: 71.62 kB / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.2564, allocations: 16 kB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.2565, allocations: 24 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.2565, allocations: 35.89 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.2566, allocations: 67.66 kB / 434.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.2569, allocations: 181.9 kB / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2569, allocations: 0 / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2569, allocations: 0 / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2569, allocations: 4 kB / 435.1 MB, free: 3.086 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.0008188/0.2577, allocations: 405.5 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2578, allocations: 11.98 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.2581, allocations: 52.81 kB / 435.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2584, allocations: 165.3 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2584, allocations: 12.31 kB / 435.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2585, allocations: 4.375 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.2589, allocations: 207.8 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2589, allocations: 0 / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2589, allocations: 4 kB / 436 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2589, allocations: 4 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.2592, allocations: 99.92 kB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.2601, allocations: 423 kB / 436.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.2604, allocations: 102.5 kB / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.2606, allocations: 64.83 kB / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2606, allocations: 3.938 kB / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2606, allocations: 34.56 kB / 436.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2606, allocations: 0 / 436.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000477/0.2611, allocations: 149.5 kB / 436.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.2612, allocations: 110.8 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2613, allocations: 162.8 kB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2614, allocations: 25.7 kB / 437.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.2615, allocations: 120 kB / 437.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.2615, allocations: 35.73 kB / 437.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.2615, allocations: 25.7 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2617, allocations: 326.8 kB / 437.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.2618, allocations: 31.98 kB / 437.6 MB, free: 364 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.262, allocations: 131.7 kB / 437.8 MB, free: 204 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.2623, allocations: 106.7 kB / 437.9 MB, free: 88 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2623, allocations: 0 / 437.9 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003666/0.2626, allocations: 145.8 kB / 438 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2627, allocations: 4 kB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2627, allocations: 15.91 kB / 438 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2627, allocations: 0 / 438 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.2633, allocations: 83.91 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.2647, allocations: 1.377 MB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.2649, allocations: 23.95 kB / 439.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2649, allocations: 4 kB / 439.5 MB, free: 14.32 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.0001221/0.265, allocations: 125.7 kB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.2651, allocations: 15.94 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.2656, allocations: 155.2 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2656, allocations: 4 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.2656, allocations: 0 / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2656, allocations: 0 / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.2663, allocations: 391.7 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2663, allocations: 0 / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2664, allocations: 27.97 kB / 440.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.2666, allocations: 24.84 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2667, allocations: 11.92 kB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.2678, allocations: 1.264 MB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2678, allocations: 0 / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.2684, allocations: 301.1 kB / 441.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2685, allocations: 11.97 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2685, allocations: 8 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2687, allocations: 15.98 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2687, allocations: 7.984 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.2687, allocations: 8 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.2688, allocations: 123.2 kB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2688, allocations: 0 / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.2691, allocations: 39.89 kB / 442 MB, free: 11.62 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.0001146/0.2692, allocations: 103.2 kB / 442.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.2699, allocations: 132 kB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2699, allocations: 3.938 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.2702, allocations: 154.7 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.2705, allocations: 12 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.272, allocations: 0.5486 MB / 443 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2721, allocations: 101.4 kB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.2721, allocations: 8.5 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.2722, allocations: 23.42 kB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2722, allocations: 0 / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005121/0.2773, allocations: 1.885 MB / 445 MB, free: 8.602 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5376255717128515]