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.001313/0.001313, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001365/0.001365, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001676/0.001676, allocations: 55.91 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1186, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003516/0.1221, allocations: 2.067 MB / 429.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1233, allocations: 0.6545 MB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.1234, allocations: 0 / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.7e-05/0.1235, allocations: 23.8 kB / 430.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1236, allocations: 47.61 kB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.124, allocations: 103.7 kB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1243, allocations: 183.2 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1244, allocations: 37.53 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1247, allocations: 95.62 kB / 430.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1248, allocations: 75.69 kB / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1248, allocations: 12 kB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.1249, allocations: 27.94 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1249, allocations: 39.83 kB / 430.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.125, allocations: 75.66 kB / 430.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.1252, allocations: 183.2 kB / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1253, allocations: 0 / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1253, allocations: 3.938 kB / 431.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1253, allocations: 0 / 431.1 MB, free: 0.6641 MB / 350.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.0008391/0.1261, allocations: 482.7 kB / 431.6 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1261, allocations: 8.031 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.1265, allocations: 56.81 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.1269, allocations: 220.1 kB / 431.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1269, allocations: 4.375 kB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.1269, allocations: 12.38 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1273, allocations: 156.4 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1273, allocations: 3.938 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1273, allocations: 8 kB / 432 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1273, allocations: 0 / 432 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1276, allocations: 98.98 kB / 432.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009538/0.1286, allocations: 0.5072 MB / 432.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.1289, allocations: 106.5 kB / 432.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.1291, allocations: 60.83 kB / 432.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1291, allocations: 4 kB / 432.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1291, allocations: 38.44 kB / 432.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1291, allocations: 0 / 432.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004953/0.1296, allocations: 149.7 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.1297, allocations: 102.8 kB / 433.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1299, allocations: 158.2 kB / 433.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1299, allocations: 25.7 kB / 433.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.13, allocations: 123.9 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1301, allocations: 31.73 kB / 433.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/0.1301, allocations: 29.7 kB / 433.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1303, allocations: 322.8 kB / 433.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1304, allocations: 43.97 kB / 433.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1306, allocations: 84.14 kB / 433.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1309, allocations: 90.55 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1309, allocations: 0 / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003616/0.1312, allocations: 149.5 kB / 434.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1312, allocations: 7.938 kB / 434.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1312, allocations: 4.391 kB / 434.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1313, allocations: 0 / 434.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.1319, allocations: 91.88 kB / 434.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.1335, allocations: 1.492 MB / 435.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1337, allocations: 27.84 kB / 435.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1337, allocations: 11.92 kB / 435.8 MB, free: 11.59 MB / 366.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.0001325/0.1339, allocations: 129.9 kB / 435.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.1339, allocations: 11.95 kB / 435.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.1344, allocations: 143.2 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1344, allocations: 8 kB / 436.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1344, allocations: 3.938 kB / 436.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1344, allocations: 8.016 kB / 436.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008056/0.1352, allocations: 460 kB / 436.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1352, allocations: 4.031 kB / 436.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1354, allocations: 27.92 kB / 436.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.1356, allocations: 32.83 kB / 436.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1356, allocations: 0 / 436.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.1369, allocations: 1.391 MB / 438 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1369, allocations: 4.094 kB / 438 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.1375, allocations: 293.1 kB / 438.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1376, allocations: 93.02 kB / 438.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1376, allocations: 7.938 kB / 438.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1378, allocations: 19.92 kB / 438.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1379, allocations: 4 kB / 438.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.1379, allocations: 3.984 kB / 438.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.138, allocations: 128.1 kB / 438.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.138, allocations: 4 kB / 438.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1383, allocations: 35.95 kB / 438.5 MB, free: 8.543 MB / 366.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.0001509/0.1384, allocations: 103.2 kB / 438.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000686/0.1391, allocations: 139.8 kB / 438.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.1391, allocations: 4 kB / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.1395, allocations: 154.6 kB / 438.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1397, allocations: 12 kB / 439 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1413, allocations: 0.5649 MB / 439.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.1418, allocations: 0.7158 MB / 440.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.1419, allocations: 19.42 kB / 440.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1419, allocations: 0 / 440.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of Templates: time 0.004805/0.1467, allocations: 2.259 MB / 442.5 MB, free: 4.496 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.358625075023156]