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.0009065/0.0009065, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00304/0.00304, allocations: 154.2 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8385/0.8385, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 2.004e-06/2.004e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.386e-05, allocations: 10.22 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003546/0.00358, allocations: 1.981 MB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004875, allocations: 0.627 MB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004999, allocations: 0 / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.071e-05/0.00507, allocations: 19.8 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.005244, allocations: 47.56 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.005759, allocations: 111.2 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.006068, allocations: 195.2 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.006249, allocations: 33.78 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.006583, allocations: 119.7 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006694, allocations: 67.78 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.006729, allocations: 12 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.006801, allocations: 23.94 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.006838, allocations: 35.89 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.006902, allocations: 55.84 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.007183, allocations: 195.4 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.007188, allocations: 4 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007189, allocations: 0 / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.007195, allocations: 0 / 329.3 MB, free: 11.84 MB / 298.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.0007277/0.007923, allocations: 397.5 kB / 329.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.007966, allocations: 11.98 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.008275, allocations: 60.8 kB / 329.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.008602, allocations: 162.2 kB / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.008617, allocations: 8.375 kB / 329.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.008651, allocations: 12.31 kB / 329.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.009, allocations: 204 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.009014, allocations: 192 / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.009036, allocations: 8.375 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.009044, allocations: 3.938 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.009263, allocations: 91.94 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.01005, allocations: 435.1 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.01029, allocations: 98.47 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.01046, allocations: 68.83 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.01048, allocations: 0 / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.01051, allocations: 38.55 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.01051, allocations: 0 / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003915/0.0109, allocations: 137.5 kB / 331 MB, free: 9.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.01096, allocations: 118.7 kB / 331.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01111, allocations: 158.3 kB / 331.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01112, allocations: 25.7 kB / 331.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.0112, allocations: 127.9 kB / 331.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.01123, allocations: 31.89 kB / 331.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.01129, allocations: 25.7 kB / 331.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.01139, allocations: 326.8 kB / 331.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.01149, allocations: 39.91 kB / 331.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01163, allocations: 135.7 kB / 332 MB, free: 8.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.01192, allocations: 102.8 kB / 332.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01192, allocations: 0 / 332.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002986/0.01222, allocations: 141.6 kB / 332.2 MB, free: 8.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01224, allocations: 8 kB / 332.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01224, allocations: 0 / 332.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.01226, allocations: 0 / 332.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.01258, allocations: 83.92 kB / 332.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.01351, allocations: 1.377 MB / 333.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.0136, allocations: 20.02 kB / 333.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01361, allocations: 8.172 kB / 333.7 MB, free: 7.09 MB / 298.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 9.174e-05/0.0137, allocations: 121.8 kB / 333.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.01373, allocations: 19.84 kB / 333.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.01399, allocations: 155.2 kB / 334 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01399, allocations: 4.031 kB / 334 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01399, allocations: 4 kB / 334 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.014, allocations: 0 / 334 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.0144, allocations: 395.7 kB / 334.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0144, allocations: 0 / 334.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.01447, allocations: 24.02 kB / 334.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.0146, allocations: 24.83 kB / 334.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01461, allocations: 12 kB / 334.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006122/0.01523, allocations: 1.26 MB / 335.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01523, allocations: 4.156 kB / 335.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01553, allocations: 301 kB / 336 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.01555, allocations: 7.953 kB / 336 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.01556, allocations: 0 / 336 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.01563, allocations: 20.05 kB / 336 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.01567, allocations: 7.984 kB / 336 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.01567, allocations: 7.938 kB / 336 MB, free: 4.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.01573, allocations: 124.1 kB / 336.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01573, allocations: 0 / 336.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.01592, allocations: 47.83 kB / 336.2 MB, free: 4.387 MB / 298.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 0.0001001/0.01602, allocations: 99.23 kB / 336.3 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.01636, allocations: 127.8 kB / 336.4 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01637, allocations: 0 / 336.4 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.01655, allocations: 166.7 kB / 336.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01672, allocations: 19.2 kB / 336.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.01758, allocations: 0.5087 MB / 337.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.01765, allocations: 105.4 kB / 337.2 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.01768, allocations: 16.48 kB / 337.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01768, allocations: 0 / 337.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of Templates: time 0.002821/0.0205, allocations: 2.336 MB / 339.6 MB, free: 0.9336 MB / 298.7 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.1313148979097605]