Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 194.8 kB / 22.76 MB, free: 5.477 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.52 MB / 345 MB, free: 2.645 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.88 kB / 482.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3225, allocations: 61.24 MB / 0.5309 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005535/0.328, allocations: 4.618 MB / 0.5355 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.33, allocations: 1.503 MB / 0.5369 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.3302, allocations: 12.19 kB / 0.5369 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.3306, allocations: 120 kB / 0.537 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.3312, allocations: 293.6 kB / 0.5373 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.3314, allocations: 108.3 kB / 0.5374 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.332, allocations: 0.5005 MB / 0.5379 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3322, allocations: 119 kB / 0.538 GB, free: 464 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.3324, allocations: 210.3 kB / 0.5382 GB, free: 340 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3327, allocations: 214.4 kB / 0.5384 GB, free: 208 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.3328, allocations: 29.41 kB / 0.5385 GB, free: 204 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.3328, allocations: 26 kB / 0.5385 GB, free: 204 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.3329, allocations: 108.9 kB / 0.5386 GB, free: 124 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3331, allocations: 181 kB / 0.5388 GB, free: 4 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.3335, allocations: 374.9 kB / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3336, allocations: 1.312 kB / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3336, allocations: 0 / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3336, allocations: 0 / 0.5391 GB, free: 15.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001142/0.3347, allocations: 0.6833 MB / 0.5398 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3347, allocations: 13.73 kB / 0.5398 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.3348, allocations: 40.92 kB / 0.5398 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.3355, allocations: 402.1 kB / 0.5402 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3355, allocations: 27.22 kB / 0.5403 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.3356, allocations: 29.52 kB / 0.5403 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.3361, allocations: 332.7 kB / 0.5406 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.3361, allocations: 5.172 kB / 0.5406 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.3361, allocations: 11.09 kB / 0.5406 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3362, allocations: 11.67 kB / 0.5406 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.3365, allocations: 207.6 kB / 0.5408 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.3382, allocations: 1.487 MB / 0.5423 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.3387, allocations: 186.7 kB / 0.5425 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3388, allocations: 77.41 kB / 0.5425 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3388, allocations: 2.844 kB / 0.5425 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3388, allocations: 35.59 kB / 0.5426 GB, free: 12.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3388, allocations: 1.031 kB / 0.5426 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00119/0.34, allocations: 0.7083 MB / 0.5433 GB, free: 12.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.3401, allocations: 131.4 kB / 0.5434 GB, free: 12.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.3405, allocations: 319.8 kB / 0.5437 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3405, allocations: 26.77 kB / 0.5437 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3407, allocations: 220.4 kB / 0.5439 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.3407, allocations: 71.27 kB / 0.544 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.3408, allocations: 56.67 kB / 0.544 GB, free: 11.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.341, allocations: 345.7 kB / 0.5444 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.3411, allocations: 50.78 kB / 0.5444 GB, free: 11.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3412, allocations: 148.8 kB / 0.5446 GB, free: 10.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3415, allocations: 219 kB / 0.5448 GB, free: 10.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3415, allocations: 1.25 kB / 0.5448 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003806/0.3419, allocations: 265.4 kB / 0.545 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3419, allocations: 6.969 kB / 0.545 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3419, allocations: 2.656 kB / 0.545 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.342, allocations: 10.31 kB / 0.545 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.3423, allocations: 86.11 kB / 0.5451 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3434, allocations: 1.363 MB / 0.5465 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3436, allocations: 8.406 kB / 0.5465 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3436, allocations: 14.03 kB / 0.5465 GB, free: 9.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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.0001985/0.3438, allocations: 168.1 kB / 0.5466 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.3439, allocations: 42.94 kB / 0.5467 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.3442, allocations: 186 kB / 0.5469 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3442, allocations: 3.5 kB / 0.5469 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3442, allocations: 1.031 kB / 0.5469 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3442, allocations: 5.062 kB / 0.5469 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.345, allocations: 0.5323 MB / 0.5474 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.345, allocations: 1.375 kB / 0.5474 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3453, allocations: 49.5 kB / 0.5474 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3453, allocations: 6.25 kB / 0.5474 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3453, allocations: 2.188 kB / 0.5474 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3453, allocations: 5.031 kB / 0.5475 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3453, allocations: 1.125 kB / 0.5475 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.3458, allocations: 0.4964 MB / 0.5479 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.3459, allocations: 109.7 kB / 0.548 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.3459, allocations: 2.031 kB / 0.548 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3461, allocations: 9.969 kB / 0.5481 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3462, allocations: 15.3 kB / 0.5481 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3462, allocations: 12.53 kB / 0.5481 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.3464, allocations: 217.2 kB / 0.5483 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3464, allocations: 1.125 kB / 0.5483 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000442/0.3468, allocations: 59.56 kB / 0.5483 GB, free: 7.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001259/0.347, allocations: 111.5 kB / 0.5485 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.3474, allocations: 165 kB / 0.5486 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3474, allocations: 0 / 0.5486 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3475, allocations: 58.14 kB / 0.5487 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.3482, allocations: 95.47 kB / 0.5488 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3498, allocations: 0.8734 MB / 0.5496 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.3503, allocations: 0.8029 MB / 0.5504 GB, free: 6.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.3503, allocations: 26.59 kB / 0.5504 GB, free: 5.996 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3503, allocations: 0 / 0.5504 GB, free: 5.996 MB / 398.1 MB Notification: Performance of Templates: time 0.008395/0.3587, allocations: 4.76 MB / 0.5551 GB, free: 3.199 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches