Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2276, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003076/0.2307, allocations: 2.049 MB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2319, allocations: 0.6544 MB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.232, allocations: 4 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.232, allocations: 19.78 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2322, allocations: 51.56 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.2326, allocations: 103.8 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2328, allocations: 179.3 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.233, allocations: 49.53 kB / 413.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.2332, allocations: 91.64 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2333, allocations: 71.69 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.2333, allocations: 16 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2335, allocations: 35.91 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.2335, allocations: 31.86 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.2336, allocations: 75.66 kB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2338, allocations: 184.5 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2338, allocations: 4 kB / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2338, allocations: 0 / 413.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2338, allocations: 0 / 413.6 MB, free: 13.97 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.0007619/0.2346, allocations: 470.9 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2347, allocations: 15.97 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.2351, allocations: 52.7 kB / 414.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2353, allocations: 220 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2354, allocations: 8.375 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.2354, allocations: 12.36 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.2357, allocations: 163.5 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2358, allocations: 0 / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2358, allocations: 4 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2358, allocations: 4 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.2361, allocations: 95.94 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000819/0.2369, allocations: 0.5031 MB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2372, allocations: 110.5 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2374, allocations: 72.81 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2374, allocations: 3.938 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2375, allocations: 42.5 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2375, allocations: 0 / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004469/0.2379, allocations: 133.5 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.238, allocations: 106.8 kB / 415.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2381, allocations: 166.2 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2382, allocations: 29.69 kB / 415.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.2382, allocations: 123.7 kB / 415.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2383, allocations: 27.8 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.2383, allocations: 33.69 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2385, allocations: 322.8 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2386, allocations: 35.98 kB / 416.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2388, allocations: 76.27 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.239, allocations: 106.5 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.239, allocations: 4 kB / 416.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.2394, allocations: 137.5 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2394, allocations: 10.75 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2394, allocations: 0 / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2394, allocations: 0 / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.24, allocations: 83.95 kB / 416.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2414, allocations: 1.512 MB / 418.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2416, allocations: 20.02 kB / 418.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.2416, allocations: 8 kB / 418.2 MB, free: 8.891 MB / 334.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.0001061/0.2417, allocations: 129.7 kB / 418.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.2418, allocations: 7.906 kB / 418.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.2422, allocations: 159.2 kB / 418.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2422, allocations: 0 / 418.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2423, allocations: 0 / 418.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.2423, allocations: 96.88 kB / 418.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.2423, allocations: 7.875 kB / 418.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2425, allocations: 11.98 kB / 418.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.2426, allocations: 11.98 kB / 418.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005259/0.2431, allocations: 226.1 kB / 418.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004777/0.2436, allocations: 354.6 kB / 419.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001179/0.2437, allocations: 36.02 kB / 419.2 MB, free: 7.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.2438, allocations: 123.2 kB / 419.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2438, allocations: 0 / 419.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009134/0.2447, allocations: 186.2 kB / 419.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007784/0.2455, allocations: 0.8306 MB / 420.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of Templates: time 0.004372/0.2499, allocations: 1.707 MB / 422.1 MB, free: 4.922 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches