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.001462/0.001462, allocations: 91.02 kB / 20.69 MB, free: 1.02 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.001483/0.001483, allocations: 159 kB / 23.95 MB, free: 4.152 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.495/1.495, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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 2.505e-06/2.505e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.029e-05, allocations: 2.281 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003642/0.003672, allocations: 1.98 MB / 327 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.004955, allocations: 0.6307 MB / 327.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.005044, allocations: 2.188 kB / 327.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.271e-05/0.005116, allocations: 19.36 kB / 327.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.005273, allocations: 52.45 kB / 327.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.005714, allocations: 101.8 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.005976, allocations: 191.1 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.006118, allocations: 35.02 kB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.006389, allocations: 128.5 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.00652, allocations: 62.09 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.006554, allocations: 13.5 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.006625, allocations: 24.55 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.006671, allocations: 35.22 kB / 328.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.006754, allocations: 58.81 kB / 328.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.007061, allocations: 186.6 kB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007065, allocations: 1.031 kB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007066, allocations: 0.6094 kB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007071, allocations: 0 / 328.5 MB, free: 14.26 MB / 302.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.000894/0.007965, allocations: 404.6 kB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.008008, allocations: 12.98 kB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.008406, allocations: 51.83 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.008763, allocations: 170.5 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.008776, allocations: 12.56 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.008816, allocations: 11.69 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.00925, allocations: 198.6 kB / 329.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.009267, allocations: 8.062 kB / 329.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.00929, allocations: 5.438 kB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.009299, allocations: 6.188 kB / 329.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.009609, allocations: 96.27 kB / 329.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.01059, allocations: 425.2 kB / 329.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.01094, allocations: 100.8 kB / 330 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.01118, allocations: 60.11 kB / 330.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.01119, allocations: 1 kB / 330.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.01124, allocations: 41.59 kB / 330.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.01124, allocations: 0 / 330.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005595/0.0118, allocations: 141.8 kB / 330.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.0119, allocations: 110 kB / 330.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.01208, allocations: 157 kB / 330.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.01211, allocations: 26.83 kB / 330.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01222, allocations: 121.5 kB / 330.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01226, allocations: 33.2 kB / 330.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.01234, allocations: 31 kB / 330.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01252, allocations: 322.2 kB / 331 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.01267, allocations: 43.98 kB / 331.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.01289, allocations: 132.9 kB / 331.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.01319, allocations: 104 kB / 331.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01319, allocations: 0 / 331.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003994/0.01359, allocations: 142.2 kB / 331.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01361, allocations: 5.422 kB / 331.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01361, allocations: 1.031 kB / 331.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.01364, allocations: 1.031 kB / 331.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.01427, allocations: 88.48 kB / 331.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.01605, allocations: 1.383 MB / 332.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.01623, allocations: 19.39 kB / 332.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01625, allocations: 2.344 kB / 332.9 MB, free: 10.62 MB / 302.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.0001538/0.0164, allocations: 120.9 kB / 333.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.01645, allocations: 17.72 kB / 333.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.01701, allocations: 166.3 kB / 333.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01701, allocations: 0.7812 kB / 333.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01702, allocations: 1.094 kB / 333.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01702, allocations: 0 / 333.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.01785, allocations: 388.8 kB / 333.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01785, allocations: 1.125 kB / 333.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.018, allocations: 21.52 kB / 333.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.01826, allocations: 34.77 kB / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.01828, allocations: 5.156 kB / 333.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.01968, allocations: 1.262 MB / 334.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01968, allocations: 7.875 kB / 334.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.0204, allocations: 298.6 kB / 335.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.02043, allocations: 15.41 kB / 335.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.02047, allocations: 6.266 kB / 335.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.02066, allocations: 13.61 kB / 335.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.02071, allocations: 11.34 kB / 335.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.02072, allocations: 6.172 kB / 335.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.02085, allocations: 123.8 kB / 335.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02085, allocations: 4.062 kB / 335.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.02119, allocations: 48.08 kB / 335.5 MB, free: 8.344 MB / 302.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.0001341/0.02133, allocations: 98.53 kB / 335.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007646/0.02209, allocations: 135.4 kB / 335.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.02209, allocations: 1.219 kB / 335.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.02245, allocations: 158.2 kB / 335.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.02272, allocations: 11.91 kB / 335.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.02442, allocations: 495.9 kB / 336.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02454, allocations: 100.3 kB / 336.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.0246, allocations: 17.42 kB / 336.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.02466, allocations: 18.7 kB / 336.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.02466, allocations: 0 / 336.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of Templates: time 0.005627/0.03028, allocations: 1.745 MB / 338.2 MB, free: 6.707 MB / 302.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.371673088520765]