Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007369/0.0007369, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007389/0.008126, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002058, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9532/0.9532, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.128/1.081, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.736e-05, allocations: 2.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002204/0.002221, allocations: 2.092 MB / 241.7 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.002962, allocations: 0.5762 MB / 242.2 MB, free: 488 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.003026, allocations: 8 kB / 242.2 MB, free: 480 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.00307, allocations: 19.78 kB / 242.3 MB, free: 460 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.003146, allocations: 43.58 kB / 242.3 MB, free: 416 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.003331, allocations: 91.73 kB / 242.4 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.003493, allocations: 187.2 kB / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.003606, allocations: 38.27 kB / 242.6 MB, free: 96 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.003819, allocations: 140.4 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.003902, allocations: 67.8 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.003931, allocations: 16 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/0.00395, allocations: 12 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.003974, allocations: 23.94 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.004018, allocations: 43.94 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.004164, allocations: 107.6 kB / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.004179, allocations: 0 / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004179, allocations: 0 / 243 MB, free: 15.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.004196, allocations: 0 / 243 MB, free: 15.69 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.0005095/0.004705, allocations: 387.9 kB / 243.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.004735, allocations: 12.03 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.004774, allocations: 20.86 kB / 243.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.004878, allocations: 137.4 kB / 243.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.004891, allocations: 8.375 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.004915, allocations: 12.38 kB / 243.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.005114, allocations: 191.8 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.005124, allocations: 0 / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.005136, allocations: 8 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005142, allocations: 4 kB / 243.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.005195, allocations: 23.98 kB / 243.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.005653, allocations: 322.9 kB / 244.1 MB, free: 14.49 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/0.005743, allocations: 58.47 kB / 244.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.005806, allocations: 28.84 kB / 244.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.00582, allocations: 8 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.005842, allocations: 38.55 kB / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005843, allocations: 0 / 244.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001351/0.005978, allocations: 61.67 kB / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.006005, allocations: 55.34 kB / 244.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.006091, allocations: 157.2 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.006105, allocations: 29.7 kB / 244.5 MB, free: 14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.006151, allocations: 115.9 kB / 244.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.006175, allocations: 35.66 kB / 244.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.006212, allocations: 33.69 kB / 244.7 MB, free: 13.81 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.006285, allocations: 322.8 kB / 245 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.006306, allocations: 8 kB / 245 MB, free: 13.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.006362, allocations: 95.69 kB / 245.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.006419, allocations: 54.77 kB / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006421, allocations: 0 / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.051e-05/0.006512, allocations: 81.59 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006523, allocations: 4 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.006527, allocations: 0 / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.006536, allocations: 0 / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.006862, allocations: 95.09 kB / 245.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.007591, allocations: 1.28 MB / 246.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.007657, allocations: 15.94 kB / 246.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.007664, allocations: 3.984 kB / 246.7 MB, free: 11.73 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.414e-05/0.007728, allocations: 117.8 kB / 246.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.007748, allocations: 11.94 kB / 246.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.007893, allocations: 91.27 kB / 246.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.007894, allocations: 0 / 246.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.007895, allocations: 11.97 kB / 246.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007899, allocations: 3.984 kB / 246.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.008168, allocations: 272.3 kB / 247.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.008172, allocations: 3.984 kB / 247.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-05/0.008257, allocations: 27.98 kB / 247.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.008271, allocations: 15.88 kB / 247.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.008416, allocations: 36.86 kB / 247.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.008422, allocations: 0 / 247.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005484/0.00897, allocations: 1.178 MB / 248.4 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008971, allocations: 3.938 kB / 248.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.009144, allocations: 205.1 kB / 248.6 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.009158, allocations: 4 kB / 248.6 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.009219, allocations: 11.98 kB / 248.6 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.009244, allocations: 7.984 kB / 248.7 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.00925, allocations: 8 kB / 248.7 MB, free: 9.566 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.00928, allocations: 36.81 kB / 248.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009281, allocations: 4.062 kB / 248.7 MB, free: 9.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.009437, allocations: 39.95 kB / 248.7 MB, free: 9.484 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 8.404e-05/0.009521, allocations: 76.42 kB / 248.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.009773, allocations: 97.78 kB / 248.9 MB, free: 9.301 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.009781, allocations: 4 kB / 248.9 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.009908, allocations: 147.3 kB / 249.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.01004, allocations: 35.8 kB / 249.1 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.01151, allocations: 401.8 kB / 249.5 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.01155, allocations: 63.34 kB / 249.5 MB, free: 8.602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01159, allocations: 20.5 kB / 249.6 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.01168, allocations: 79.28 kB / 249.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01168, allocations: 0 / 249.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of Templates: time 0.00365/0.01533, allocations: 1.966 MB / 251.6 MB, free: 6.555 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.497158959507942]