Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001449/0.001449, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001586/0.001586, allocations: 190.1 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08155/0.08275, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00391/0.08671, allocations: 2.002 MB / 377.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.08805, allocations: 0.6162 MB / 378.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.08822, allocations: 0 / 378.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.08835, allocations: 19.8 kB / 378.5 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.08855, allocations: 43.62 kB / 378.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.08904, allocations: 99.78 kB / 378.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.08934, allocations: 179.3 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.08952, allocations: 53.47 kB / 378.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.08977, allocations: 83.64 kB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.08993, allocations: 79.67 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.08999, allocations: 16 kB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.09004, allocations: 12 kB / 379 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.09009, allocations: 35.91 kB / 379.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.0902, allocations: 79.53 kB / 379.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.09043, allocations: 179.4 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09044, allocations: 0 / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09045, allocations: 0 / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.09046, allocations: 0 / 379.3 MB, free: 1.07 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.0008853/0.09135, allocations: 474.7 kB / 379.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.0914, allocations: 11.89 kB / 379.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.09148, allocations: 16.75 kB / 379.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.09169, allocations: 200 kB / 380 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.09172, allocations: 4.375 kB / 380 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.09175, allocations: 12.38 kB / 380 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.09211, allocations: 156.4 kB / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.09214, allocations: 0 / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.09217, allocations: 8 kB / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.09218, allocations: 0 / 380.2 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.09247, allocations: 99.86 kB / 380.3 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.153/0.2455, allocations: 0.4977 MB / 380.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.2458, allocations: 108.6 kB / 380.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.246, allocations: 63.39 kB / 380.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.246, allocations: 1.688 kB / 380.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2461, allocations: 39.17 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.2461, allocations: 0 / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004371/0.2465, allocations: 142.4 kB / 381.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2465, allocations: 108.5 kB / 381.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2467, allocations: 160.6 kB / 381.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2467, allocations: 32.17 kB / 381.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2467, allocations: 120.2 kB / 381.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2468, allocations: 29.88 kB / 381.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.2468, allocations: 31.66 kB / 381.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.2469, allocations: 320 kB / 381.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.247, allocations: 39.83 kB / 381.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2471, allocations: 75.69 kB / 382 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.2474, allocations: 105.6 kB / 382.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2474, allocations: 0 / 382.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003098/0.2477, allocations: 146.5 kB / 382.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2477, allocations: 6.422 kB / 382.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2477, allocations: 1.281 kB / 382.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2478, allocations: 4.781 kB / 382.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/0.2483, allocations: 80.62 kB / 382.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2494, allocations: 1.513 MB / 383.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2496, allocations: 23.08 kB / 383.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2496, allocations: 11.03 kB / 383.9 MB, free: 10.59 MB / 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 7.076e-05/0.2497, allocations: 123.7 kB / 384 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.2497, allocations: 10.25 kB / 384 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.2502, allocations: 157.9 kB / 384.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2502, allocations: 1.234 kB / 384.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2502, allocations: 0.5 kB / 384.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.2502, allocations: 88.12 kB / 384.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.2503, allocations: 5.672 kB / 384.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2504, allocations: 21.12 kB / 384.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2505, allocations: 6.312 kB / 384.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005066/0.251, allocations: 231 kB / 384.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004288/0.2514, allocations: 340.9 kB / 384.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001293/0.2516, allocations: 40.77 kB / 384.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.2517, allocations: 120.3 kB / 385 MB, free: 9.914 MB / 318.1 MB Notification: Performance of Backend: time 4.5e-07/0.2517, allocations: 0 / 385 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.2525, allocations: 181.9 kB / 385.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007072/0.2533, allocations: 0.8371 MB / 386 MB, free: 9.113 MB / 318.1 MB Notification: Performance of Templates: time 0.004426/0.2577, allocations: 1.588 MB / 387.6 MB, free: 9.02 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches