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.001362/0.001362, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001524/0.001524, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.523/1.523, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2141/0.2141, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.006e-05, allocations: 2.281 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003428/0.003459, allocations: 1.859 MB / 444.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004659, allocations: 0.5607 MB / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.004755, allocations: 4 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.893e-05/0.004814, allocations: 11.86 kB / 445.1 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.005053, allocations: 43.62 kB / 445.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.005376, allocations: 87.38 kB / 445.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.005623, allocations: 163.4 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.005747, allocations: 17.3 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.006035, allocations: 111.7 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.006162, allocations: 51.8 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.006198, allocations: 12 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.006277, allocations: 20 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.006316, allocations: 31.89 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.006384, allocations: 35.92 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.006656, allocations: 159.5 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.006662, allocations: 7.922 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006662, allocations: 0 / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.006668, allocations: 3.938 kB / 445.8 MB, free: 2.16 MB / 366.1 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.0008658/0.007534, allocations: 377.8 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.007571, allocations: 8.031 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.007891, allocations: 40.86 kB / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.008096, allocations: 137.6 kB / 446.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.008108, allocations: 4.375 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.008146, allocations: 12.31 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.00855, allocations: 180.2 kB / 446.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.008564, allocations: 192 / 446.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.008586, allocations: 8.375 kB / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.008592, allocations: 3.938 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.008962, allocations: 95.92 kB / 446.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.009842, allocations: 367.3 kB / 447 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01019, allocations: 94.45 kB / 447.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.01035, allocations: 40.92 kB / 447.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.01036, allocations: 0 / 447.1 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.01039, allocations: 34.56 kB / 447.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.01039, allocations: 4 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.001531/0.01192, allocations: 317.1 kB / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.012, allocations: 102.8 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.01217, allocations: 149.7 kB / 447.7 MB, free: 44 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.0122, allocations: 29.7 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1934/0.2056, allocations: 113.9 kB / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.2057, allocations: 20.11 kB / 447.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.2058, allocations: 29.36 kB / 447.9 MB, free: 19.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.2058, allocations: 319.9 kB / 448.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.2062, allocations: 59.38 kB / 448.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.2065, allocations: 147 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.207, allocations: 134.8 kB / 448.6 MB, free: 18.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.207, allocations: 0.5156 kB / 448.6 MB, free: 18.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005972/0.2076, allocations: 179.2 kB / 448.7 MB, free: 18.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2076, allocations: 7.219 kB / 448.7 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2076, allocations: 1.062 kB / 448.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.2076, allocations: 1.469 kB / 448.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.2083, allocations: 89.23 kB / 448.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2095, allocations: 1.375 MB / 450.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.2098, allocations: 23.39 kB / 450.2 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2098, allocations: 9.906 kB / 450.2 MB, free: 17.5 MB / 366.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 (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 0.0001041/0.2099, allocations: 124.5 kB / 450.4 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.2099, allocations: 10.56 kB / 450.4 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.2105, allocations: 166.4 kB / 450.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2105, allocations: 1.438 kB / 450.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.2105, allocations: 3 kB / 450.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2105, allocations: 1.641 kB / 450.5 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.2112, allocations: 390 kB / 450.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2113, allocations: 1.281 kB / 450.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.2114, allocations: 29.2 kB / 451 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2114, allocations: 0 / 451 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2114, allocations: 5.734 kB / 451 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2114, allocations: 1.844 kB / 451 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2114, allocations: 0 / 451 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.212, allocations: 258.5 kB / 451.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.212, allocations: 10.45 kB / 451.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.212, allocations: 1.953 kB / 451.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2122, allocations: 22.77 kB / 451.3 MB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.2123, allocations: 9.891 kB / 451.3 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2123, allocations: 1.438 kB / 451.3 MB, free: 16.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.2124, allocations: 114.1 kB / 451.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2124, allocations: 4.75 kB / 451.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2126, allocations: 29.47 kB / 451.4 MB, free: 16.75 MB / 366.1 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 0.0001158/0.2128, allocations: 98.27 kB / 451.5 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009216/0.2137, allocations: 175.7 kB / 451.7 MB, free: 16.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2137, allocations: 1.375 kB / 451.7 MB, free: 16.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2139, allocations: 60.48 kB / 451.7 MB, free: 16.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.2143, allocations: 14.41 kB / 451.7 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2156, allocations: 377.6 kB / 452.1 MB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.2157, allocations: 89.09 kB / 452.2 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.884e-05/0.2158, allocations: 15.03 kB / 452.2 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.2158, allocations: 18.67 kB / 452.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2158, allocations: 0 / 452.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006146/0.222, allocations: 1.853 MB / 454.1 MB, free: 16.14 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153163034468889]