Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.002518/0.002518, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002972/0.002972, allocations: 165.3 kB / 24.28 MB, free: 148 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.62/1.62, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.032e-05, allocations: 6.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01221/0.01224, allocations: 8 MB / 280.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.01775, allocations: 2.599 MB / 282.9 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.01868, allocations: 31.88 kB / 283 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.02052, allocations: 0.5284 MB / 283.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.02191, allocations: 0.5155 MB / 284 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.02243, allocations: 255.6 kB / 284.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.02424, allocations: 1.532 MB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.02493, allocations: 367.2 kB / 286.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.0263, allocations: 0.8728 MB / 287 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.02704, allocations: 478.6 kB / 287.5 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.02724, allocations: 136 kB / 287.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.02761, allocations: 176 kB / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.02788, allocations: 294.8 kB / 288.1 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005617/0.02844, allocations: 466.9 kB / 288.5 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1587/0.1872, allocations: 1.731 MB / 290.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.1872, allocations: 1.75 kB / 290.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1872, allocations: 0 / 290.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.251e-05/0.1873, allocations: 0 / 290.3 MB, free: 18.65 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003424/0.1907, allocations: 1.601 MB / 291.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1907, allocations: 13.22 kB / 291.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.1917, allocations: 268.2 kB / 292.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.1932, allocations: 0.7055 MB / 292.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.1932, allocations: 73.75 kB / 292.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1934, allocations: 109.9 kB / 293 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.1953, allocations: 1.1 MB / 294.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.1953, allocations: 2.703 kB / 294.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.1954, allocations: 38.91 kB / 294.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.1954, allocations: 25.25 kB / 294.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.1966, allocations: 0.6078 MB / 294.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/0.2019, allocations: 4.701 MB / 299.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.2025, allocations: 357.5 kB / 299.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.2031, allocations: 257.2 kB / 300.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.2031, allocations: 10.61 kB / 300.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2031, allocations: 45.33 kB / 300.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.2031, allocations: 0 / 300.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.002376/0.2055, allocations: 1.243 MB / 301.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2056, allocations: 81.05 kB / 301.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2066, allocations: 0.9847 MB / 302.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.2066, allocations: 36.94 kB / 302.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.2069, allocations: 0.6701 MB / 303.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.207, allocations: 182.6 kB / 303.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.2072, allocations: 160.2 kB / 303.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2074, allocations: 0.6207 MB / 304.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.2077, allocations: 154.5 kB / 304.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.2081, allocations: 0.6171 MB / 304.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.2089, allocations: 0.7907 MB / 305.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2089, allocations: 2.688 kB / 305.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001213/0.2101, allocations: 0.7929 MB / 306.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2101, allocations: 12.34 kB / 306.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.2101, allocations: 10.47 kB / 306.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.2104, allocations: 88.48 kB / 306.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.2109, allocations: 155.7 kB / 306.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.2126, allocations: 4.02 MB / 310.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.2132, allocations: 37.06 kB / 310.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.2132, allocations: 35.78 kB / 310.8 MB, free: 6.383 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003358/0.2135, allocations: 303.1 kB / 311.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2136, allocations: 97.7 kB / 311.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.2144, allocations: 474.1 kB / 311.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2144, allocations: 6.75 kB / 311.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2144, allocations: 0 / 311.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2144, allocations: 2.906 kB / 311.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.2162, allocations: 1.523 MB / 313.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2162, allocations: 0 / 313.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.2165, allocations: 64.8 kB / 313.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.2167, allocations: 90.48 kB / 313.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.2167, allocations: 10.97 kB / 313.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.2183, allocations: 4.017 MB / 317.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2183, allocations: 0 / 317.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.2193, allocations: 0.8373 MB / 318.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.2195, allocations: 110.1 kB / 318.3 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.2196, allocations: 17.41 kB / 318.4 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.22, allocations: 23.38 kB / 318.4 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.22, allocations: 34.61 kB / 318.4 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2201, allocations: 19.89 kB / 318.4 MB, free: 340 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006876/0.2208, allocations: 0.5927 MB / 319 MB, free: 15.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2208, allocations: 4 kB / 319 MB, free: 15.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00115/0.2219, allocations: 207.9 kB / 319.2 MB, free: 15.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (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.0002339/0.2221, allocations: 114.1 kB / 319.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.2235, allocations: 0.8167 MB / 320.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2235, allocations: 0 / 320.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.2243, allocations: 0.5588 MB / 320.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2253, allocations: 199.5 kB / 320.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2283, allocations: 1.691 MB / 322.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.2288, allocations: 423.8 kB / 323 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.2291, allocations: 93.05 kB / 323.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2293, allocations: 48.5 kB / 323.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2293, allocations: 4 kB / 323.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of Templates: time 0.02157/0.2508, allocations: 10.1 MB / 333.3 MB, free: 2.086 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.148646989953704]