Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001333/0.001333, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001581/0.001581, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2214, allocations: 53.33 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003462/0.2249, allocations: 2.069 MB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.226, allocations: 0.6584 MB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.2261, allocations: 7.938 kB / 434.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.204e-05/0.2261, allocations: 27.78 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.2263, allocations: 39.64 kB / 434.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.2266, allocations: 103.7 kB / 435 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2269, allocations: 187.3 kB / 435.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.227, allocations: 33.55 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.2273, allocations: 91.62 kB / 435.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2274, allocations: 75.69 kB / 435.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2274, allocations: 16 kB / 435.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.2275, allocations: 24 kB / 435.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2275, allocations: 35.89 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.2276, allocations: 83.53 kB / 435.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2279, allocations: 181.3 kB / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2279, allocations: 0 / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2279, allocations: 0 / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2279, allocations: 0 / 435.7 MB, free: 3.762 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.0008415/0.2287, allocations: 486.6 kB / 436.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2288, allocations: 8.031 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.2292, allocations: 56.81 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.2295, allocations: 220.1 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2295, allocations: 8.375 kB / 436.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2295, allocations: 8.375 kB / 436.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.2298, allocations: 159.2 kB / 436.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2298, allocations: 4 kB / 436.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.2299, allocations: 4 kB / 436.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2299, allocations: 4 kB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.2301, allocations: 95.88 kB / 436.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.2311, allocations: 0.5033 MB / 437.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.2315, allocations: 102.5 kB / 437.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2317, allocations: 64.97 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2317, allocations: 0 / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2317, allocations: 46.48 kB / 437.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.2317, allocations: 3.938 kB / 437.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004831/0.2322, allocations: 141.6 kB / 437.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.2323, allocations: 106.8 kB / 437.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2324, allocations: 158.9 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.2325, allocations: 25.7 kB / 437.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.2325, allocations: 119.9 kB / 438 MB, free: 1.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.2326, allocations: 27.73 kB / 438 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.2326, allocations: 41.64 kB / 438 MB, free: 1.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2328, allocations: 322.8 kB / 438.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2329, allocations: 43.97 kB / 438.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2331, allocations: 72.27 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2334, allocations: 98.52 kB / 438.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2334, allocations: 4 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003518/0.2337, allocations: 145.8 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2337, allocations: 15.92 kB / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2337, allocations: 0 / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2337, allocations: 0 / 438.7 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.2343, allocations: 83.86 kB / 438.8 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.236, allocations: 1.509 MB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2362, allocations: 15.94 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2362, allocations: 7.984 kB / 440.3 MB, free: 14.69 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.0001293/0.2363, allocations: 125.8 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.2364, allocations: 12.02 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.2369, allocations: 155.1 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2369, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2369, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.2369, allocations: 100.9 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.237, allocations: 4 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2371, allocations: 11.98 kB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2372, allocations: 7.984 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005771/0.2377, allocations: 237.6 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005654/0.2383, allocations: 342.6 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001219/0.2384, allocations: 36.16 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2385, allocations: 124.1 kB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2385, allocations: 0 / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.2395, allocations: 194.2 kB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009283/0.2404, allocations: 0.8401 MB / 442.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004993/0.2454, allocations: 1.764 MB / 444.3 MB, free: 10.65 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.193307501729578]