Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001059/0.001059, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002625, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001066/0.001066, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002387, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9985/0.9985, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08412/1.083, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.157e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00251/0.002521, allocations: 2.129 MB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.003378, allocations: 0.654 MB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.00344, allocations: 0 / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.003485, allocations: 15.86 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.003578, allocations: 47.56 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.003821, allocations: 111.5 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.004006, allocations: 195.2 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004114, allocations: 42.03 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.004365, allocations: 136.5 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.004453, allocations: 59.8 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.00448, allocations: 16 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.004554, allocations: 27.98 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.004581, allocations: 27.88 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.00463, allocations: 39.94 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004821, allocations: 123.5 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.004834, allocations: 0 / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004835, allocations: 4 kB / 248.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.004848, allocations: 0 / 248.2 MB, free: 10.67 MB / 250.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.0005491/0.005397, allocations: 399.8 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.005427, allocations: 8.031 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.005759, allocations: 133.9 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.005933, allocations: 137.6 kB / 248.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.005945, allocations: 4.375 kB / 248.8 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.00597, allocations: 12.38 kB / 248.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.006187, allocations: 187 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006197, allocations: 0 / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.00621, allocations: 7.984 kB / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006216, allocations: 0 / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.006279, allocations: 23.98 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.006792, allocations: 338.9 kB / 249.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.00689, allocations: 46.48 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.006964, allocations: 32.84 kB / 249.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.006976, allocations: 4 kB / 249.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006996, allocations: 34.55 kB / 249.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.006997, allocations: 0 / 249.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001481/0.007145, allocations: 65.67 kB / 249.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.007174, allocations: 63.34 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.00727, allocations: 153.3 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.007284, allocations: 29.7 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.007339, allocations: 123.8 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.007364, allocations: 23.78 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007411, allocations: 33.62 kB / 250 MB, free: 8.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.007489, allocations: 322.8 kB / 250.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.007512, allocations: 8 kB / 250.3 MB, free: 8.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.007698, allocations: 99.67 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.007766, allocations: 46.86 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007768, allocations: 11.97 kB / 250.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001076/0.007876, allocations: 81.56 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.007887, allocations: 8 kB / 250.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007891, allocations: 0 / 250.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.007899, allocations: 0 / 250.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.008282, allocations: 87.84 kB / 250.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007993/0.009081, allocations: 1.276 MB / 251.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.009158, allocations: 11.95 kB / 251.9 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.009167, allocations: 3.984 kB / 251.9 MB, free: 6.586 MB / 250.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 6.887e-05/0.009235, allocations: 121.9 kB / 252 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.009265, allocations: 15.92 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.009426, allocations: 95.27 kB / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.009427, allocations: 0 / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.00943, allocations: 7.984 kB / 252.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009433, allocations: 3.938 kB / 252.2 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.009757, allocations: 272.3 kB / 252.4 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.009759, allocations: 4.031 kB / 252.4 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.009858, allocations: 27.97 kB / 252.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.009874, allocations: 11.91 kB / 252.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.01003, allocations: 32.83 kB / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01004, allocations: 4 kB / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006036/0.01065, allocations: 1.183 MB / 253.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01065, allocations: 3.938 kB / 253.7 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.01107, allocations: 205.1 kB / 253.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01109, allocations: 7.984 kB / 253.9 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.01117, allocations: 8.156 kB / 253.9 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.0112, allocations: 11.98 kB / 253.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.0112, allocations: 0 / 253.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.631e-05/0.01124, allocations: 37.47 kB / 254 MB, free: 4.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 254 MB, free: 4.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01146, allocations: 39.95 kB / 254 MB, free: 4.344 MB / 250.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 7.145e-05/0.01154, allocations: 84.41 kB / 254.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01183, allocations: 97.62 kB / 254.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.01184, allocations: 4 kB / 254.2 MB, free: 4.145 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01198, allocations: 146.5 kB / 254.3 MB, free: 3.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01215, allocations: 34.61 kB / 254.3 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.014, allocations: 392 kB / 254.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01404, allocations: 71.33 kB / 254.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.01408, allocations: 12.44 kB / 254.8 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.01418, allocations: 79.34 kB / 254.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01418, allocations: 3.938 kB / 254.9 MB, free: 3.363 MB / 250.7 MB Notification: Performance of Templates: time 0.004028/0.01821, allocations: 1.97 MB / 256.9 MB, free: 1.414 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.563263882882893]