Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002466/0.002466, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007844/0.0007847, allocations: 88.8 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002061/0.2476, allocations: 1.664 MB / 376.7 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.2486, allocations: 0.5759 MB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.2487, allocations: 2.562 kB / 377.3 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.2487, allocations: 9.078 kB / 377.3 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.2489, allocations: 48.14 kB / 377.4 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.2493, allocations: 74.16 kB / 377.5 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.2495, allocations: 160.2 kB / 377.6 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2497, allocations: 47.42 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.2499, allocations: 69.77 kB / 377.7 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.25, allocations: 70.45 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.25, allocations: 6.812 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.2501, allocations: 8.969 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.2501, allocations: 28.52 kB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.2502, allocations: 91.48 kB / 377.9 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2504, allocations: 126.4 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2504, allocations: 0.8125 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2504, allocations: 0 / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2504, allocations: 0 / 378.1 MB, free: 43.14 MB / 298.7 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.0006897/0.2511, allocations: 449.1 kB / 378.5 MB, free: 42.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.2512, allocations: 8.75 kB / 378.5 MB, free: 42.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.2513, allocations: 16.75 kB / 378.5 MB, free: 42.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2514, allocations: 195.6 kB / 378.7 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2514, allocations: 10.94 kB / 378.7 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.2515, allocations: 12.06 kB / 378.7 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.2518, allocations: 154.7 kB / 378.9 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2518, allocations: 0 / 378.9 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2519, allocations: 5.156 kB / 378.9 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.2519, allocations: 3.25 kB / 378.9 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.2521, allocations: 102.2 kB / 379 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.253, allocations: 0.5072 MB / 379.5 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2533, allocations: 110.9 kB / 379.6 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2535, allocations: 64.48 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2536, allocations: 1.062 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2536, allocations: 43.53 kB / 379.7 MB, free: 41.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2536, allocations: 0 / 379.7 MB, free: 41.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004666/0.2541, allocations: 161.1 kB / 379.9 MB, free: 41.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2541, allocations: 108.1 kB / 380 MB, free: 41.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2543, allocations: 156.6 kB / 380.1 MB, free: 41.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2543, allocations: 30.8 kB / 380.2 MB, free: 41.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.2544, allocations: 114.2 kB / 380.3 MB, free: 41.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.2544, allocations: 31.52 kB / 380.3 MB, free: 41.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.2544, allocations: 0 / 380.3 MB, free: 41.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.2545, allocations: 325.6 kB / 380.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2546, allocations: 43.22 kB / 380.7 MB, free: 40.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2548, allocations: 81.95 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.255, allocations: 103.4 kB / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.255, allocations: 1.281 kB / 380.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003198/0.2554, allocations: 147.7 kB / 381 MB, free: 40.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2554, allocations: 9.438 kB / 381 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2554, allocations: 5.125 kB / 381 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2554, allocations: 1.094 kB / 381 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.256, allocations: 88.03 kB / 381.1 MB, free: 40.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.2571, allocations: 1.413 MB / 382.5 MB, free: 39.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2573, allocations: 27.48 kB / 382.5 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2573, allocations: 1.531 kB / 382.5 MB, free: 39.1 MB / 298.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.2574, allocations: 123.3 kB / 382.6 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.2575, allocations: 13.5 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.2579, allocations: 162.4 kB / 382.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.258, allocations: 5.219 kB / 382.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.258, allocations: 0 / 382.8 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.258, allocations: 4 kB / 382.8 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.2587, allocations: 471.8 kB / 383.3 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2587, allocations: 0 / 383.3 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2588, allocations: 21.77 kB / 383.3 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.2591, allocations: 41.2 kB / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2591, allocations: 7.984 kB / 383.4 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/0.26, allocations: 1.293 MB / 384.7 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.26, allocations: 1.531 kB / 384.7 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.2605, allocations: 301.8 kB / 384.9 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.2606, allocations: 92.91 kB / 385 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2606, allocations: 5.375 kB / 385 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2608, allocations: 15.33 kB / 385.1 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2608, allocations: 7.406 kB / 385.1 MB, free: 36.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2609, allocations: 6.234 kB / 385.1 MB, free: 36.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.2609, allocations: 117.4 kB / 385.2 MB, free: 36.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.261, allocations: 0 / 385.2 MB, free: 36.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.2613, allocations: 45.06 kB / 385.2 MB, free: 36.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.2614, allocations: 95.31 kB / 385.3 MB, free: 36.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.2621, allocations: 150.2 kB / 385.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2621, allocations: 0 / 385.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.2625, allocations: 162 kB / 385.6 MB, free: 36.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.2628, allocations: 19.84 kB / 385.6 MB, free: 36.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.2644, allocations: 0.6389 MB / 386.3 MB, free: 35.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.2646, allocations: 0.7094 MB / 387 MB, free: 35.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.2647, allocations: 17.45 kB / 387 MB, free: 35.11 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.2647, allocations: 0 / 387 MB, free: 35.11 MB / 298.7 MB Notification: Performance of Templates: time 0.004247/0.269, allocations: 2.174 MB / 389.2 MB, free: 33.85 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches