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.00132/0.00132, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001466/0.001466, allocations: 214.8 kB / 24.49 MB, free: 3.938 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.001572/0.001572, allocations: 51.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2247, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003222/0.2279, allocations: 1.968 MB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.229, allocations: 0.6272 MB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.2291, allocations: 0 / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.2291, allocations: 19.84 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2292, allocations: 43.58 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.2296, allocations: 114 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2299, allocations: 191.2 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.23, allocations: 29.73 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.2302, allocations: 91.69 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2303, allocations: 79.62 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.2303, allocations: 12 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.68e-05/0.2304, allocations: 20 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.2304, allocations: 43.89 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.2305, allocations: 63.66 kB / 435.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.2308, allocations: 189 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2308, allocations: 0 / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2308, allocations: 0 / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2308, allocations: 0 / 435.8 MB, free: 3.191 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.0008187/0.2316, allocations: 397.5 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2316, allocations: 12.03 kB / 436.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.2321, allocations: 56.8 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.2323, allocations: 158.3 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2323, allocations: 12.31 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.2324, allocations: 16.36 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2328, allocations: 213.3 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2328, allocations: 0 / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.2328, allocations: 8 kB / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2328, allocations: 0 / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.2331, allocations: 91.94 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.234, allocations: 427.1 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.2343, allocations: 98.47 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2346, allocations: 68.83 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2346, allocations: 0 / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2346, allocations: 42.48 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2346, allocations: 0 / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005212/0.2351, allocations: 141.5 kB / 437.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.2352, allocations: 110.8 kB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2354, allocations: 158.2 kB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2354, allocations: 25.7 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.2355, allocations: 123.9 kB / 437.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.2355, allocations: 27.75 kB / 438 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.2356, allocations: 33.69 kB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2357, allocations: 318.8 kB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2359, allocations: 39.97 kB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.2361, allocations: 127.7 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2364, allocations: 106.9 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2364, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000378/0.2367, allocations: 149.5 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2367, allocations: 8 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2368, allocations: 0 / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2368, allocations: 7.875 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.2374, allocations: 79.92 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.239, allocations: 1.385 MB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.2392, allocations: 19.97 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2392, allocations: 8.188 kB / 440.2 MB, free: 14.43 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.000116/0.2393, allocations: 125.7 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2394, allocations: 11.95 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.2399, allocations: 155.1 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2399, allocations: 0 / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2399, allocations: 4 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.2399, allocations: 11.95 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2399, allocations: 3.938 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2401, allocations: 15.98 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.2402, allocations: 7.984 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005898/0.2407, allocations: 233.7 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005342/0.2413, allocations: 346.6 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001351/0.2414, allocations: 39.95 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.2415, allocations: 120.1 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Backend: time 1.51e-07/0.2415, allocations: 0 / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000958/0.2425, allocations: 184.6 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009184/0.2434, allocations: 0.8455 MB / 442.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Templates: time 0.0053/0.2487, allocations: 2.014 MB / 444.3 MB, free: 10.25 MB / 350.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: 4.295798212006048]