Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002177/0.003389, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002818, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.077/1.077, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09506/1.172, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02761/0.2972, allocations: 13.24 MB / 292.6 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.231e-05, allocations: 7.453 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003254/0.003277, allocations: 1.98 MB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.004167, allocations: 0.589 MB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.004231, allocations: 4 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.481e-05/0.004276, allocations: 15.86 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.004391, allocations: 39.69 kB / 296.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.004625, allocations: 79.77 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004814, allocations: 155.4 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004934, allocations: 33.89 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.005191, allocations: 119.6 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.005295, allocations: 55.86 kB / 296.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.005321, allocations: 12 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.0054, allocations: 20 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.005429, allocations: 19.94 kB / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.005475, allocations: 31.94 kB / 297 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.005667, allocations: 99.55 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.005684, allocations: 4 kB / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005685, allocations: 0 / 297.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.0057, allocations: 0 / 297.1 MB, free: 1.953 MB / 282.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.0005937/0.006293, allocations: 357.2 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.006327, allocations: 12.03 kB / 297.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.006576, allocations: 118 kB / 297.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.006695, allocations: 125 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.006708, allocations: 4.359 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.006736, allocations: 12.38 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.006964, allocations: 181.3 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.006977, allocations: 192 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.006989, allocations: 4.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.006996, allocations: 3.938 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.007058, allocations: 23.98 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.007569, allocations: 275.1 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.007649, allocations: 34.56 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.007671, allocations: 8.859 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.007684, allocations: 7.938 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.007706, allocations: 34.56 kB / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007708, allocations: 0 / 298.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004341/0.008142, allocations: 117.5 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.008176, allocations: 55.41 kB / 298.4 MB, free: 464 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.008286, allocations: 146.6 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.008304, allocations: 25.7 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.008366, allocations: 112.2 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.008387, allocations: 23.86 kB / 298.7 MB, free: 128 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.008434, allocations: 25.69 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.008549, allocations: 326.8 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.008577, allocations: 8 kB / 299.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.008652, allocations: 92.62 kB / 299.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.008725, allocations: 62.45 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008727, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001115/0.008839, allocations: 65.61 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008852, allocations: 8.094 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008858, allocations: 4 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.008866, allocations: 0 / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.009216, allocations: 83.84 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.009928, allocations: 1.284 MB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.009994, allocations: 11.98 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.01, allocations: 4 kB / 300.7 MB, free: 14.01 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 (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 5.971e-05/0.01006, allocations: 113.8 kB / 300.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.01008, allocations: 7.984 kB / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.01015, allocations: 66.39 kB / 300.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01015, allocations: 12.02 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.01015, allocations: 4 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.01016, allocations: 0 / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01037, allocations: 230.8 kB / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01037, allocations: 0 / 301.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.01043, allocations: 23.92 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.01044, allocations: 7.953 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01044, allocations: 3.938 kB / 301.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.01045, allocations: 4 kB / 301.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01045, allocations: 8 kB / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01045, allocations: 0 / 301.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.01053, allocations: 151.5 kB / 301.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01054, allocations: 7.922 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.01061, allocations: 15.98 kB / 301.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.01063, allocations: 8 kB / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.01064, allocations: 0 / 301.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.48e-05/0.01066, allocations: 34.7 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01066, allocations: 0 / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.0108, allocations: 28 kB / 301.4 MB, free: 13.24 MB / 298.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 5.686e-05/0.01085, allocations: 84.36 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.01109, allocations: 89.58 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.0111, allocations: 7.984 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.01112, allocations: 20.8 kB / 301.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.01127, allocations: 25.38 kB / 301.6 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.01209, allocations: 312.9 kB / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.01213, allocations: 63.34 kB / 302 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.01218, allocations: 20.47 kB / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.01228, allocations: 75.34 kB / 302.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01228, allocations: 0 / 302.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003348/0.01562, allocations: 1.991 MB / 304.1 MB, free: 10.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9001201251521707]