Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009327, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 94.52 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3754/0.3754, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 11.98 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3756, allocations: 61.88 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5035, allocations: 88.23 MB / 0.5969 GB, free: 6.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5039, allocations: 75.95 kB / 0.597 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009354/0.5132, allocations: 2.928 MB / 0.5998 GB, free: 3.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5133, allocations: 3.938 kB / 0.5998 GB, free: 3.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5133, allocations: 4 kB / 0.5998 GB, free: 3.812 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007003/0.514, allocations: 439 kB / 0.6002 GB, free: 3.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5141, allocations: 8.031 kB / 0.6003 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.5141, allocations: 20.73 kB / 0.6003 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5143, allocations: 185.3 kB / 0.6004 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5144, allocations: 8.359 kB / 0.6005 GB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.5144, allocations: 8.375 kB / 0.6005 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.5147, allocations: 150.2 kB / 0.6006 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5148, allocations: 192 / 0.6006 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.5148, allocations: 11.94 kB / 0.6006 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5148, allocations: 0 / 0.6006 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.5151, allocations: 103.9 kB / 0.6007 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.516, allocations: 459.4 kB / 0.6012 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5163, allocations: 94.53 kB / 0.6012 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.5165, allocations: 48.92 kB / 0.6013 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.5165, allocations: 7.922 kB / 0.6013 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5165, allocations: 34.56 kB / 0.6013 GB, free: 2.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.5165, allocations: 0 / 0.6013 GB, free: 2.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001319/0.5179, allocations: 369 kB / 0.6017 GB, free: 1.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.518, allocations: 102.8 kB / 0.6018 GB, free: 1.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.5181, allocations: 147.9 kB / 0.6019 GB, free: 1.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.5181, allocations: 25.7 kB / 0.6019 GB, free: 1.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.5182, allocations: 124 kB / 0.6021 GB, free: 1.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.5182, allocations: 19.66 kB / 0.6021 GB, free: 1.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.5182, allocations: 4 kB / 0.6021 GB, free: 1.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5184, allocations: 318.8 kB / 0.6024 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5186, allocations: 67.95 kB / 0.6025 GB, free: 0.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.5188, allocations: 108.2 kB / 0.6026 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.5192, allocations: 158.4 kB / 0.6027 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5193, allocations: 0 / 0.6027 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005194/0.5198, allocations: 197.4 kB / 0.6029 GB, free: 400 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5198, allocations: 7.984 kB / 0.6029 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5198, allocations: 0 / 0.6029 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5198, allocations: 7.938 kB / 0.6029 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.5204, allocations: 91.97 kB / 0.603 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.5218, allocations: 1.409 MB / 0.6044 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.522, allocations: 27.97 kB / 0.6044 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5221, allocations: 8.188 kB / 0.6044 GB, free: 14.71 MB / 426.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 (9): * Single equations (assignments): 8 * 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 0.0001057/0.5222, allocations: 121.8 kB / 0.6045 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.5222, allocations: 11.84 kB / 0.6045 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.5227, allocations: 186.3 kB / 0.6047 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5227, allocations: 3.938 kB / 0.6047 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5227, allocations: 3.984 kB / 0.6047 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5227, allocations: 4 kB / 0.6047 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.5235, allocations: 482.3 kB / 0.6052 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5235, allocations: 0 / 0.6052 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.5237, allocations: 39.97 kB / 0.6052 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5237, allocations: 0 / 0.6052 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5237, allocations: 0 / 0.6052 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5237, allocations: 7.938 kB / 0.6052 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5237, allocations: 0 / 0.6052 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.5242, allocations: 271.5 kB / 0.6055 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.5243, allocations: 89.02 kB / 0.6056 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.5243, allocations: 0 / 0.6056 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5245, allocations: 27.97 kB / 0.6056 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.5246, allocations: 11.98 kB / 0.6056 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.5246, allocations: 4 kB / 0.6056 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.686e-05/0.5247, allocations: 110.2 kB / 0.6057 GB, free: 13.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5247, allocations: 192 / 0.6057 GB, free: 13.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.525, allocations: 32 kB / 0.6058 GB, free: 13.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.5251, allocations: 103.6 kB / 0.6059 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008151/0.5259, allocations: 199.9 kB / 0.606 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5259, allocations: 0 / 0.606 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.5261, allocations: 75.83 kB / 0.6061 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.5265, allocations: 16 kB / 0.6061 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.5277, allocations: 417.5 kB / 0.6065 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5279, allocations: 0.7043 MB / 0.6072 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.528, allocations: 8.438 kB / 0.6072 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.5281, allocations: 15.42 kB / 0.6072 GB, free: 11.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5281, allocations: 0 / 0.6072 GB, free: 11.64 MB / 426.7 MB Notification: Performance of Templates: time 0.003895/0.532, allocations: 1.488 MB / 0.6087 GB, free: 10.16 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches