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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1256,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=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.91 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.226, allocations: 49.45 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00291/0.2289, allocations: 2.022 MB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.2298, allocations: 0.5727 MB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.2298, allocations: 0 / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.2299, allocations: 19.78 kB / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.23, allocations: 47.64 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.2303, allocations: 91.69 kB / 404.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2305, allocations: 187.2 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2307, allocations: 57.39 kB / 404.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2308, allocations: 79.7 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2309, allocations: 79.69 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.231, allocations: 12 kB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.231, allocations: 19.94 kB / 404.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.2311, allocations: 35.89 kB / 404.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.2311, allocations: 75.66 kB / 404.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2313, allocations: 172.5 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2313, allocations: 0 / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2313, allocations: 0 / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2314, allocations: 0 / 404.9 MB, free: 5.379 MB / 318.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.0007365/0.2321, allocations: 474.8 kB / 405.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2321, allocations: 11.89 kB / 405.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.2322, allocations: 20.73 kB / 405.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.2324, allocations: 195.8 kB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2324, allocations: 4.375 kB / 405.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2324, allocations: 16.38 kB / 405.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.2328, allocations: 156.3 kB / 405.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2329, allocations: 0 / 405.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.2329, allocations: 4 kB / 405.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2329, allocations: 4 kB / 405.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.2333, allocations: 95.94 kB / 405.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2345, allocations: 0.5031 MB / 406.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2349, allocations: 102.5 kB / 406.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.2352, allocations: 68.81 kB / 406.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2352, allocations: 7.984 kB / 406.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2352, allocations: 42.5 kB / 406.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.2353, allocations: 0 / 406.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005991/0.2359, allocations: 137.7 kB / 406.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.2359, allocations: 110.8 kB / 406.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.2362, allocations: 154.2 kB / 407 MB, free: 3.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2362, allocations: 37.64 kB / 407 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.2363, allocations: 115.9 kB / 407.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.2364, allocations: 27.56 kB / 407.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.2364, allocations: 33.7 kB / 407.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.2365, allocations: 318.8 kB / 407.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2367, allocations: 43.97 kB / 407.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2368, allocations: 76.27 kB / 407.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2371, allocations: 102.8 kB / 407.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2371, allocations: 0 / 407.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003393/0.2374, allocations: 145.5 kB / 407.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2375, allocations: 11.94 kB / 407.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2375, allocations: 7.969 kB / 407.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2375, allocations: 0 / 407.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.2381, allocations: 79.92 kB / 407.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.2395, allocations: 1.5 MB / 409.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.2397, allocations: 28.14 kB / 409.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2397, allocations: 8 kB / 409.5 MB, free: 376 kB / 318.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 9.957e-05/0.2398, allocations: 128.6 kB / 409.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.2398, allocations: 11.91 kB / 409.6 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.2403, allocations: 163.1 kB / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2403, allocations: 0 / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2403, allocations: 0 / 409.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.2404, allocations: 88.86 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2404, allocations: 8 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2406, allocations: 15.98 kB / 409.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2406, allocations: 7.984 kB / 409.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005169/0.2412, allocations: 229.8 kB / 410.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004587/0.2416, allocations: 346.4 kB / 410.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001162/0.2418, allocations: 35.98 kB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.623e-05/0.2418, allocations: 123.2 kB / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.2419, allocations: 0 / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.2427, allocations: 178.4 kB / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007915/0.2435, allocations: 0.8288 MB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Templates: time 0.004115/0.2476, allocations: 1.632 MB / 413.2 MB, free: 12.48 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) 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) Reference file matches