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.001303/0.001303, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001281/0.001281, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.611/1.611, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2963, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003816/0.3002, allocations: 2.034 MB / 403.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3013, allocations: 0.561 MB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.3014, allocations: 4 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.3015, allocations: 23.78 kB / 404 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3017, allocations: 51.5 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.302, allocations: 91.8 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3023, allocations: 183.3 kB / 404.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3025, allocations: 49.47 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3026, allocations: 83.7 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3028, allocations: 79.61 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3028, allocations: 16 kB / 404.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.49e-05/0.3028, allocations: 16 kB / 404.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.3029, allocations: 31.91 kB / 404.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.303, allocations: 75.66 kB / 404.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.3033, allocations: 171.2 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3034, allocations: 4 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3034, allocations: 3.938 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3034, allocations: 0 / 404.9 MB, free: 5.375 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.001039/0.3044, allocations: 474.7 kB / 405.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3045, allocations: 15.89 kB / 405.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3047, allocations: 20.78 kB / 405.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3049, allocations: 192.2 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3049, allocations: 12.38 kB / 405.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.3049, allocations: 8.375 kB / 405.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.3053, allocations: 160.3 kB / 405.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3053, allocations: 0 / 405.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3053, allocations: 7.938 kB / 405.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3053, allocations: 4 kB / 405.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.3056, allocations: 95.94 kB / 405.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.3066, allocations: 0.4955 MB / 406.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3069, allocations: 110.5 kB / 406.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3071, allocations: 68.83 kB / 406.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3071, allocations: 0 / 406.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3072, allocations: 34.5 kB / 406.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3072, allocations: 4 kB / 406.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004841/0.3077, allocations: 149.7 kB / 406.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.3077, allocations: 110.8 kB / 406.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3079, allocations: 158.7 kB / 407 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3079, allocations: 25.7 kB / 407 MB, free: 3.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.308, allocations: 120 kB / 407.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3081, allocations: 31.73 kB / 407.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.3082, allocations: 25.7 kB / 407.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3083, allocations: 326.8 kB / 407.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3085, allocations: 35.98 kB / 407.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3086, allocations: 80.25 kB / 407.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3089, allocations: 102.8 kB / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3089, allocations: 0 / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.3092, allocations: 149.5 kB / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3093, allocations: 11.97 kB / 407.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3093, allocations: 0 / 407.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3093, allocations: 4 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.3099, allocations: 87.91 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3115, allocations: 1.5 MB / 409.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3117, allocations: 31.97 kB / 409.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3117, allocations: 3.938 kB / 409.5 MB, free: 360 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 0.0001195/0.3118, allocations: 125.7 kB / 409.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.3119, allocations: 11.95 kB / 409.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.3124, allocations: 159.1 kB / 409.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3124, allocations: 0 / 409.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3124, allocations: 0 / 409.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.3125, allocations: 92.98 kB / 409.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.3125, allocations: 0 / 409.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3127, allocations: 27.92 kB / 409.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3127, allocations: 7.984 kB / 409.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005288/0.3133, allocations: 221.7 kB / 410.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005042/0.3138, allocations: 350.5 kB / 410.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001193/0.3139, allocations: 36.02 kB / 410.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.314, allocations: 119.2 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.314, allocations: 0 / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008845/0.3149, allocations: 180.2 kB / 410.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of SimCode: time 0.001067/0.316, allocations: 0.8326 MB / 411.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Templates: time 0.004959/0.321, allocations: 1.627 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