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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005401/0.005401, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.928/0.928, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 32.8 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.255e-05, allocations: 8.328 kB / 440.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00217/0.002203, allocations: 1.869 MB / 442.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.003186, allocations: 0.5569 MB / 443.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.003242, allocations: 4 kB / 443.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.003285, allocations: 11.86 kB / 443.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.003466, allocations: 43.58 kB / 443.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.003679, allocations: 90.62 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.003811, allocations: 151.4 kB / 443.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.00393, allocations: 25.28 kB / 443.6 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.004133, allocations: 99.78 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.004206, allocations: 51.88 kB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.004227, allocations: 16 kB / 443.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.065e-05/0.004268, allocations: 12 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.004291, allocations: 31.84 kB / 443.8 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.00433, allocations: 47.89 kB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.004504, allocations: 151.5 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004508, allocations: 4 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004509, allocations: 0 / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004513, allocations: 0 / 444 MB, free: 0.6094 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.0005294/0.005043, allocations: 377.8 kB / 444.3 MB, free: 216 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.005078, allocations: 8.031 kB / 444.4 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.005246, allocations: 40.86 kB / 444.4 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005359, allocations: 133.6 kB / 444.5 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.00537, allocations: 4.375 kB / 444.5 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1817/0.1871, allocations: 9.891 kB / 444.5 MB, free: 46.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.1875, allocations: 187.6 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1875, allocations: 192 / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1875, allocations: 6.844 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1875, allocations: 3.516 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1877, allocations: 101 kB / 444.8 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.1883, allocations: 362.4 kB / 445.2 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1885, allocations: 95.14 kB / 445.3 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.1886, allocations: 40.16 kB / 445.3 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1886, allocations: 0 / 445.3 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.1886, allocations: 40.66 kB / 445.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1886, allocations: 0 / 445.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007956/0.1894, allocations: 317.6 kB / 445.7 MB, free: 46.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1894, allocations: 105.6 kB / 445.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.1895, allocations: 147.1 kB / 445.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1895, allocations: 25.7 kB / 445.9 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.1896, allocations: 118.1 kB / 446.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.1896, allocations: 20.77 kB / 446.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1897, allocations: 37.2 kB / 446.1 MB, free: 46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.1897, allocations: 320.4 kB / 446.4 MB, free: 45.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1898, allocations: 64.81 kB / 446.5 MB, free: 45.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.19, allocations: 138.4 kB / 446.6 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1902, allocations: 144 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1902, allocations: 0 / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002553/0.1904, allocations: 177.5 kB / 446.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1904, allocations: 8.875 kB / 446.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1904, allocations: 4.875 kB / 446.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1905, allocations: 2.625 kB / 446.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.1908, allocations: 84.73 kB / 447 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007757/0.1916, allocations: 1.373 MB / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1917, allocations: 32.8 kB / 448.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1917, allocations: 2.844 kB / 448.4 MB, free: 44.09 MB / 410.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.252e-05/0.1918, allocations: 124.6 kB / 448.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.1918, allocations: 9.703 kB / 448.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.192, allocations: 164.9 kB / 448.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.192, allocations: 0 / 448.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.192, allocations: 3.328 kB / 448.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.192, allocations: 2.906 kB / 448.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1924, allocations: 386.5 kB / 449.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1924, allocations: 2.688 kB / 449.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.1925, allocations: 28.45 kB / 449.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1925, allocations: 4.062 kB / 449.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1925, allocations: 0 / 449.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1925, allocations: 1.812 kB / 449.2 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1925, allocations: 7.875 kB / 449.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1927, allocations: 249.3 kB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.1928, allocations: 10.23 kB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1928, allocations: 7.031 kB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.1929, allocations: 22.67 kB / 449.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1929, allocations: 10.66 kB / 449.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1929, allocations: 2.875 kB / 449.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.446e-05/0.193, allocations: 121.2 kB / 449.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.193, allocations: 0 / 449.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.1931, allocations: 27.28 kB / 449.6 MB, free: 43.34 MB / 410.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 8.754e-05/0.1932, allocations: 101.6 kB / 449.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.1937, allocations: 173.1 kB / 449.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1937, allocations: 0 / 449.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1938, allocations: 65.66 kB / 449.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1941, allocations: 9.844 kB / 449.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.1949, allocations: 399.6 kB / 450.3 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.1949, allocations: 89.33 kB / 450.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.195, allocations: 14.38 kB / 450.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.195, allocations: 4 kB / 450.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of Templates: time 0.002651/0.1976, allocations: 1.903 MB / 452.3 MB, free: 42.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.617238087579608]