Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001905/0.001905, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001959/0.001959, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.327e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0215/0.02153, allocations: 7.899 MB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008182/0.02971, allocations: 2.568 MB / 282.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.03089, allocations: 27.88 kB / 282.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.03289, allocations: 0.5207 MB / 283.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.03479, allocations: 0.5039 MB / 283.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.03547, allocations: 239.6 kB / 284.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.03758, allocations: 1.486 MB / 285.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.03828, allocations: 379.2 kB / 285.9 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.03973, allocations: 0.8456 MB / 286.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007191/0.04045, allocations: 474.6 kB / 287.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.04064, allocations: 136 kB / 287.4 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.04101, allocations: 172 kB / 287.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.04127, allocations: 282.9 kB / 287.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.04182, allocations: 454.9 kB / 288.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.0439, allocations: 1.702 MB / 290 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.04391, allocations: 7.938 kB / 290 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.04391, allocations: 0 / 290 MB, free: 92 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.04393, allocations: 0 / 290 MB, free: 92 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1236/0.1676, allocations: 1.576 MB / 291.5 MB, free: 28.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1676, allocations: 10.22 kB / 291.6 MB, free: 28.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.1682, allocations: 257.1 kB / 291.8 MB, free: 28.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.1693, allocations: 0.6895 MB / 292.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.1694, allocations: 74.03 kB / 292.6 MB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1695, allocations: 96.56 kB / 292.7 MB, free: 28.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.1711, allocations: 1.063 MB / 293.7 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.1712, allocations: 9.594 kB / 293.7 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.1713, allocations: 38.27 kB / 293.8 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.1713, allocations: 25.03 kB / 293.8 MB, free: 27.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.1726, allocations: 0.5965 MB / 294.4 MB, free: 27.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.1779, allocations: 4.705 MB / 299.1 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.1784, allocations: 266.7 kB / 299.4 MB, free: 24.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.1786, allocations: 140.5 kB / 299.5 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1787, allocations: 5.719 kB / 299.5 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1787, allocations: 47.78 kB / 299.5 MB, free: 24.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.1787, allocations: 2.406 kB / 299.5 MB, free: 24.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002103/0.1808, allocations: 1.023 MB / 300.6 MB, free: 23.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1808, allocations: 82.27 kB / 300.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.182, allocations: 0.9667 MB / 301.6 MB, free: 22.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.182, allocations: 35.55 kB / 301.7 MB, free: 22.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.1823, allocations: 0.6797 MB / 302.3 MB, free: 22.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/0.1824, allocations: 140.8 kB / 302.5 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1826, allocations: 160.2 kB / 302.6 MB, free: 22.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1828, allocations: 0.6103 MB / 303.2 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.183, allocations: 136.4 kB / 303.4 MB, free: 21.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.1835, allocations: 0.6243 MB / 304 MB, free: 20.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.1842, allocations: 0.776 MB / 304.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.1842, allocations: 2.594 kB / 304.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00106/0.1853, allocations: 0.7021 MB / 305.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1853, allocations: 9.344 kB / 305.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1853, allocations: 12.36 kB / 305.5 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.1855, allocations: 32.92 kB / 305.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.186, allocations: 155.2 kB / 305.7 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008202/0.1868, allocations: 1.788 MB / 307.5 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.1873, allocations: 29.23 kB / 307.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.1873, allocations: 32.86 kB / 307.5 MB, free: 18.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.1877, allocations: 300.1 kB / 307.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1878, allocations: 98.94 kB / 307.9 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.1884, allocations: 362.8 kB / 308.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1884, allocations: 7.688 kB / 308.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1884, allocations: 0.5156 kB / 308.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1884, allocations: 1.594 kB / 308.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1901, allocations: 1.34 MB / 309.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1901, allocations: 4.219 kB / 309.6 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1904, allocations: 73.17 kB / 309.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-05/0.1905, allocations: 26.78 kB / 309.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1905, allocations: 11.94 kB / 309.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000666/0.1912, allocations: 1.772 MB / 311.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1912, allocations: 8.062 kB / 311.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1919, allocations: 0.6838 MB / 312.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.1921, allocations: 111.2 kB / 312.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.1922, allocations: 8 kB / 312.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.1925, allocations: 22.92 kB / 312.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.1926, allocations: 27.89 kB / 312.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1926, allocations: 20 kB / 312.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005536/0.1931, allocations: 0.5888 MB / 313 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1931, allocations: 0 / 313 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006821/0.1938, allocations: 184 kB / 313.2 MB, free: 12.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.194, allocations: 123.1 kB / 313.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.1948, allocations: 0.5906 MB / 313.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1948, allocations: 4.125 kB / 313.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.1951, allocations: 318.9 kB / 314.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.1959, allocations: 196.6 kB / 314.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1979, allocations: 1.657 MB / 316 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1981, allocations: 400.8 kB / 316.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.1984, allocations: 99.78 kB / 316.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.1985, allocations: 52.5 kB / 316.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1985, allocations: 3.719 kB / 316.6 MB, free: 9.211 MB / 266.7 MB Notification: Performance of Templates: time 0.0147/0.2132, allocations: 8.991 MB / 325.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.08881259302143]