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.001833/0.001833, allocations: 70.11 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002195/0.002195, allocations: 149.4 kB / 24.49 MB, free: 3.855 MB / 14.72 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 1.492/1.492, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001593/0.001593, allocations: 43.33 kB / 319.4 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09428, allocations: 52.16 MB / 371.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003468/0.09774, allocations: 1.961 MB / 373.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.09873, allocations: 0.5417 MB / 374.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.0988, allocations: 0 / 374.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.259e-05/0.09886, allocations: 23.78 kB / 374.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.09899, allocations: 43.62 kB / 374.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.09931, allocations: 90.94 kB / 374.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.09955, allocations: 187.2 kB / 374.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.09969, allocations: 41.58 kB / 374.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.09987, allocations: 75.72 kB / 374.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.09999, allocations: 75.61 kB / 374.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.1, allocations: 16 kB / 374.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.1001, allocations: 12 kB / 374.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1001, allocations: 35.91 kB / 374.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.1002, allocations: 67.66 kB / 374.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1004, allocations: 175.3 kB / 374.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1004, allocations: 4 kB / 374.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1004, allocations: 4 kB / 374.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1004, allocations: 0 / 374.9 MB, free: 4.145 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.0008556/0.1013, allocations: 393.6 kB / 375.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1013, allocations: 8.031 kB / 375.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.1014, allocations: 16.84 kB / 375.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1015, allocations: 142.3 kB / 375.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1016, allocations: 4.375 kB / 375.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.1016, allocations: 12.38 kB / 375.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1019, allocations: 206.6 kB / 375.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.102, allocations: 4 kB / 375.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.102, allocations: 4 kB / 375.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.102, allocations: 0 / 375.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.1023, allocations: 95.94 kB / 375.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.1031, allocations: 423.2 kB / 376.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.1035, allocations: 102.5 kB / 376.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1037, allocations: 60.98 kB / 376.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1037, allocations: 0 / 376.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.1037, allocations: 42.55 kB / 376.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1037, allocations: 0 / 376.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005025/0.1042, allocations: 157.4 kB / 376.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1043, allocations: 106.8 kB / 376.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1045, allocations: 162.2 kB / 376.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1045, allocations: 25.7 kB / 376.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.1046, allocations: 116 kB / 376.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1046, allocations: 27.73 kB / 377 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1047, allocations: 37.64 kB / 377 MB, free: 1.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1048, allocations: 330.8 kB / 377.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.105, allocations: 39.97 kB / 377.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1051, allocations: 123.7 kB / 377.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1054, allocations: 102.5 kB / 377.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1054, allocations: 0 / 377.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003425/0.1057, allocations: 149.5 kB / 377.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1058, allocations: 6.656 kB / 377.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1058, allocations: 7.938 kB / 377.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1058, allocations: 3.984 kB / 377.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.1064, allocations: 83.95 kB / 377.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.1078, allocations: 1.37 MB / 379.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.108, allocations: 23.97 kB / 379.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.108, allocations: 0 / 379.2 MB, free: 15.47 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.0001188/0.1082, allocations: 132.4 kB / 379.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1082, allocations: 7.953 kB / 379.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.1087, allocations: 155.2 kB / 379.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1087, allocations: 0 / 379.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1087, allocations: 4 kB / 379.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1087, allocations: 3.984 kB / 379.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.1094, allocations: 391.6 kB / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1094, allocations: 0 / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1095, allocations: 27.97 kB / 379.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.1097, allocations: 24.84 kB / 380 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1098, allocations: 11.92 kB / 380 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1109, allocations: 1.272 MB / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1109, allocations: 0 / 381.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.1115, allocations: 293.1 kB / 381.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.1115, allocations: 15.97 kB / 381.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1116, allocations: 0 / 381.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1117, allocations: 15.98 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1118, allocations: 19.91 kB / 381.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1118, allocations: 3.938 kB / 381.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1119, allocations: 123.3 kB / 381.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1119, allocations: 0 / 381.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1122, allocations: 43.89 kB / 381.8 MB, free: 12.76 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.0001087/0.1123, allocations: 99.19 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.113, allocations: 136.5 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.113, allocations: 0 / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.1134, allocations: 158.8 kB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1136, allocations: 15.94 kB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.1152, allocations: 0.5403 MB / 382.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.1153, allocations: 101.6 kB / 382.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.1154, allocations: 16.48 kB / 382.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1155, allocations: 16.48 kB / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1155, allocations: 0 / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005198/0.1207, allocations: 1.737 MB / 384.6 MB, free: 9.891 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.247044346993789]