Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009287/0.0009289, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007834/0.0007834, allocations: 94.08 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3181/0.3181, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003271, allocations: 8 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3055, allocations: 63.11 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.001853/0.3074, allocations: 1.587 MB / 0.5229 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.3083, allocations: 0.7781 MB / 0.5237 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3083, allocations: 0 / 0.5237 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.3084, allocations: 7.406 kB / 0.5237 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.3086, allocations: 40.19 kB / 0.5237 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3088, allocations: 74.03 kB / 0.5238 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.309, allocations: 143.6 kB / 0.5239 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3092, allocations: 27.64 kB / 0.524 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3094, allocations: 69.88 kB / 0.524 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.3095, allocations: 60.84 kB / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3095, allocations: 5.969 kB / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.845e-05/0.3095, allocations: 8.5 kB / 0.5241 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3096, allocations: 32.39 kB / 0.5241 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.3096, allocations: 74.73 kB / 0.5242 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3098, allocations: 135.3 kB / 0.5243 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3098, allocations: 3.938 kB / 0.5243 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3098, allocations: 0 / 0.5243 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3098, allocations: 2.938 kB / 0.5243 GB, free: 36.36 MB / 378.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.0005904/0.3104, allocations: 425.7 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3105, allocations: 13.25 kB / 0.5248 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.3108, allocations: 46.72 kB / 0.5248 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3109, allocations: 192.1 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3109, allocations: 3.094 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3109, allocations: 9.906 kB / 0.525 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3112, allocations: 144.9 kB / 0.5251 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3113, allocations: 3.984 kB / 0.5251 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3113, allocations: 4 kB / 0.5251 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3113, allocations: 2.969 kB / 0.5251 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.3116, allocations: 107.7 kB / 0.5252 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.3123, allocations: 458.8 kB / 0.5257 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3125, allocations: 99.42 kB / 0.5258 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3127, allocations: 45.34 kB / 0.5258 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3127, allocations: 0 / 0.5258 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3127, allocations: 37.25 kB / 0.5259 GB, free: 35.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3127, allocations: 4 kB / 0.5259 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001265/0.314, allocations: 366.8 kB / 0.5262 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.314, allocations: 110.2 kB / 0.5263 GB, free: 34.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3142, allocations: 138.3 kB / 0.5265 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3142, allocations: 35.66 kB / 0.5265 GB, free: 34.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.3142, allocations: 109 kB / 0.5266 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3143, allocations: 22.22 kB / 0.5266 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.3143, allocations: 0 / 0.5266 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.3143, allocations: 321.4 kB / 0.5269 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3145, allocations: 69.48 kB / 0.527 GB, free: 34.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3148, allocations: 116.8 kB / 0.5271 GB, free: 34.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.3151, allocations: 151.8 kB / 0.5272 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3152, allocations: 0 / 0.5272 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004493/0.3156, allocations: 202.1 kB / 0.5274 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3156, allocations: 9.875 kB / 0.5274 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.3156, allocations: 0 / 0.5274 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3157, allocations: 9.781 kB / 0.5275 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.3162, allocations: 92.62 kB / 0.5275 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.3172, allocations: 1.4 MB / 0.5289 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3174, allocations: 42.25 kB / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3175, allocations: 3.125 kB / 0.5289 GB, free: 32.68 MB / 378.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 (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.418e-05/0.3175, allocations: 123.7 kB / 0.5291 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3176, allocations: 13.48 kB / 0.5291 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.318, allocations: 195.2 kB / 0.5293 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.318, allocations: 0 / 0.5293 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.318, allocations: 0 / 0.5293 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.318, allocations: 0 / 0.5293 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.3187, allocations: 487.2 kB / 0.5297 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3187, allocations: 0 / 0.5297 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3189, allocations: 30.95 kB / 0.5298 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3189, allocations: 2.875 kB / 0.5298 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3189, allocations: 4 kB / 0.5298 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3189, allocations: 0 / 0.5298 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3189, allocations: 0 / 0.5298 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.3194, allocations: 281.7 kB / 0.53 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.3194, allocations: 81.2 kB / 0.5301 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3194, allocations: 2.875 kB / 0.5301 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3196, allocations: 36.16 kB / 0.5302 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3197, allocations: 10.14 kB / 0.5302 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3197, allocations: 4 kB / 0.5302 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.3197, allocations: 116.8 kB / 0.5303 GB, free: 31.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3198, allocations: 2.219 kB / 0.5303 GB, free: 31.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.32, allocations: 29.84 kB / 0.5303 GB, free: 31.73 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.21e-05/0.3201, allocations: 99.88 kB / 0.5304 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.3209, allocations: 195.8 kB / 0.5306 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3209, allocations: 2.938 kB / 0.5306 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3211, allocations: 71.98 kB / 0.5307 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3214, allocations: 13.44 kB / 0.5307 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3225, allocations: 436.9 kB / 0.5311 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3226, allocations: 0.6984 MB / 0.5318 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.3227, allocations: 16.91 kB / 0.5318 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3227, allocations: 13.34 kB / 0.5318 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3227, allocations: 0 / 0.5318 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003743/0.3265, allocations: 1.521 MB / 0.5333 GB, free: 30.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches