Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001305/0.001305, allocations: 82.19 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001458/0.001458, allocations: 163.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.404/1.404, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1699/0.1699, allocations: 29.42 MB / 290.1 MB, free: 3.289 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.168e-05, allocations: 6.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007982/0.008013, allocations: 5.499 MB / 436.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004848/0.01286, allocations: 2.142 MB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.01329, allocations: 23.81 kB / 438.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.01411, allocations: 170.7 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01529, allocations: 477 kB / 439 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.01587, allocations: 251.3 kB / 439.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.01704, allocations: 0.8872 MB / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005372/0.01758, allocations: 377.2 kB / 440.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006752/0.01825, allocations: 0.4908 MB / 441 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.01874, allocations: 295.1 kB / 441.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.01884, allocations: 52 kB / 441.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.01911, allocations: 143.8 kB / 441.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.01933, allocations: 199.4 kB / 441.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.0196, allocations: 215.5 kB / 441.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009773/0.02058, allocations: 0.7827 MB / 442.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.02059, allocations: 4 kB / 442.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.02059, allocations: 0 / 442.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.0206, allocations: 0 / 442.7 MB, free: 5.922 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001637/0.02224, allocations: 0.8569 MB / 443.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.02228, allocations: 11.98 kB / 443.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.02242, allocations: 76.45 kB / 443.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.02334, allocations: 467 kB / 444.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.02338, allocations: 33.12 kB / 444.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.02351, allocations: 48 kB / 444.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.02439, allocations: 0.5424 MB / 444.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.02442, allocations: 7.984 kB / 444.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.02446, allocations: 16 kB / 444.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.143e-05/0.02455, allocations: 20.94 kB / 444.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.02513, allocations: 331.7 kB / 445.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.02765, allocations: 1.827 MB / 446.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.0281, allocations: 230.9 kB / 447.1 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.02823, allocations: 74.61 kB / 447.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.02826, allocations: 4 kB / 447.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.02853, allocations: 168.7 kB / 447.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.02854, allocations: 3.938 kB / 447.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001729/0.03026, allocations: 0.8619 MB / 448.2 MB, free: 92 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1754/0.2056, allocations: 133.9 kB / 448.3 MB, free: 30.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.2064, allocations: 413.5 kB / 448.7 MB, free: 30.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.2064, allocations: 32.98 kB / 448.8 MB, free: 30.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2066, allocations: 304 kB / 449.1 MB, free: 30.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.2067, allocations: 92.36 kB / 449.2 MB, free: 30.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2068, allocations: 76.91 kB / 449.2 MB, free: 30.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2069, allocations: 354.5 kB / 449.6 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.2071, allocations: 85.05 kB / 449.7 MB, free: 29.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.2074, allocations: 256.2 kB / 449.9 MB, free: 29.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.2078, allocations: 323.4 kB / 450.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2078, allocations: 1.094 kB / 450.2 MB, free: 29.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009765/0.2087, allocations: 444.5 kB / 450.7 MB, free: 29.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.2088, allocations: 8.844 kB / 450.7 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2088, allocations: 4.125 kB / 450.7 MB, free: 29.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.2092, allocations: 98.45 kB / 450.8 MB, free: 29.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.2095, allocations: 72.02 kB / 450.9 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.2114, allocations: 1.684 MB / 452.5 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.2117, allocations: 21.89 kB / 452.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.2117, allocations: 20.27 kB / 452.6 MB, free: 27.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.212, allocations: 215.4 kB / 452.8 MB, free: 27.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.212, allocations: 43.44 kB / 452.8 MB, free: 27.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.2127, allocations: 271.4 kB / 453.1 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2127, allocations: 3.953 kB / 453.1 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2127, allocations: 1.562 kB / 453.1 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2127, allocations: 6.328 kB / 453.1 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2137, allocations: 0.661 MB / 453.8 MB, free: 26.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2137, allocations: 4.25 kB / 453.8 MB, free: 26.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.214, allocations: 50.45 kB / 453.8 MB, free: 26.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.2142, allocations: 49.5 kB / 453.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2143, allocations: 7.766 kB / 453.9 MB, free: 26.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.2153, allocations: 1.413 MB / 455.3 MB, free: 25.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2153, allocations: 4.156 kB / 455.3 MB, free: 25.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.216, allocations: 479.5 kB / 455.8 MB, free: 25.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2161, allocations: 58.64 kB / 455.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.2162, allocations: 7.516 kB / 455.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2164, allocations: 13.3 kB / 455.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2165, allocations: 22.38 kB / 455.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2165, allocations: 12.47 kB / 455.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003428/0.2169, allocations: 285.9 kB / 456.2 MB, free: 25.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2169, allocations: 0 / 456.2 MB, free: 25.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005817/0.2174, allocations: 133.2 kB / 456.3 MB, free: 25.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.2191, allocations: 499.9 kB / 456.8 MB, free: 24.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008066/0.2199, allocations: 383.3 kB / 457.1 MB, free: 24.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2199, allocations: 1.375 kB / 457.1 MB, free: 24.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.2202, allocations: 226.5 kB / 457.4 MB, free: 24.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.2209, allocations: 121.2 kB / 457.5 MB, free: 24.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2226, allocations: 1.052 MB / 458.5 MB, free: 23.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2229, allocations: 286.3 kB / 458.8 MB, free: 23.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.2231, allocations: 60.75 kB / 458.9 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.2232, allocations: 40.11 kB / 458.9 MB, free: 23.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2232, allocations: 0 / 458.9 MB, free: 23.79 MB / 366.1 MB Notification: Performance of Templates: time 0.01533/0.2385, allocations: 6.499 MB / 465.4 MB, free: 22.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.793323457241058]