Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.002044/0.002044, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002695/0.002695, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.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.1858/0.1858, allocations: 38.54 MB / 353.2 MB, free: 12.33 MB / 286.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.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 59.91 kB / 493.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.00688/0.3067, allocations: 4.693 MB / 0.5477 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3093, allocations: 1.397 MB / 0.5491 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.3096, allocations: 26.22 kB / 0.5491 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.31, allocations: 104.3 kB / 0.5492 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.3107, allocations: 270.4 kB / 0.5495 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.3111, allocations: 136.5 kB / 0.5496 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.3118, allocations: 0.5872 MB / 0.5502 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.3123, allocations: 287.5 kB / 0.5505 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.3126, allocations: 259.2 kB / 0.5507 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.313, allocations: 218.6 kB / 0.5509 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.3131, allocations: 43.03 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.926e-05/0.3131, allocations: 39.72 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3133, allocations: 122.3 kB / 0.5511 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.3135, allocations: 188.4 kB / 0.5513 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.3141, allocations: 0.5012 MB / 0.5518 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3141, allocations: 0 / 0.5518 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3141, allocations: 0 / 0.5518 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3141, allocations: 3.938 kB / 0.5518 GB, free: 9.965 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001278/0.3154, allocations: 0.6547 MB / 0.5524 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3154, allocations: 12.64 kB / 0.5524 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.3155, allocations: 51.17 kB / 0.5525 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.3162, allocations: 346.9 kB / 0.5528 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3163, allocations: 84.94 kB / 0.5529 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.3164, allocations: 40.12 kB / 0.5529 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.3171, allocations: 431.8 kB / 0.5534 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3172, allocations: 5.062 kB / 0.5534 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.3172, allocations: 15.41 kB / 0.5534 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3172, allocations: 9.625 kB / 0.5534 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.3177, allocations: 273.3 kB / 0.5536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.32, allocations: 1.626 MB / 0.5552 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.3203, allocations: 174.1 kB / 0.5554 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3205, allocations: 70.33 kB / 0.5555 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3205, allocations: 2.688 kB / 0.5555 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.3205, allocations: 42.45 kB / 0.5555 GB, free: 6.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3205, allocations: 0 / 0.5555 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001355/0.3219, allocations: 0.6448 MB / 0.5561 GB, free: 6.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.322, allocations: 110.6 kB / 0.5562 GB, free: 6.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.3223, allocations: 287.2 kB / 0.5565 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3223, allocations: 30.67 kB / 0.5565 GB, free: 6.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3225, allocations: 251.5 kB / 0.5568 GB, free: 5.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.3226, allocations: 72.47 kB / 0.5569 GB, free: 5.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3227, allocations: 66.36 kB / 0.5569 GB, free: 5.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3229, allocations: 341.6 kB / 0.5572 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3231, allocations: 78.31 kB / 0.5573 GB, free: 5.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.3233, allocations: 200.4 kB / 0.5575 GB, free: 5.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.3238, allocations: 290.9 kB / 0.5578 GB, free: 4.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3238, allocations: 0 / 0.5578 GB, free: 4.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00061/0.3244, allocations: 332.9 kB / 0.5581 GB, free: 4.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3244, allocations: 8 kB / 0.5581 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.3244, allocations: 8.5 kB / 0.5581 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3245, allocations: 8 kB / 0.5581 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3248, allocations: 71.91 kB / 0.5582 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.3248, allocations: 15.92 kB / 0.5582 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.325, allocations: 11.95 kB / 0.5582 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.325, allocations: 24 kB / 0.5582 GB, free: 4.297 MB / 398.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 prepare postOptimizeDAE: time 0.0002396/0.3252, allocations: 177.6 kB / 0.5584 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.3253, allocations: 35.8 kB / 0.5584 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3258, allocations: 195.7 kB / 0.5586 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3258, allocations: 8 kB / 0.5586 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3258, allocations: 0 / 0.5586 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3258, allocations: 4 kB / 0.5586 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.3267, allocations: 0.5095 MB / 0.5591 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3268, allocations: 4 kB / 0.5591 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.327, allocations: 39.97 kB / 0.5592 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.327, allocations: 0 / 0.5592 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.327, allocations: 8 kB / 0.5592 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.327, allocations: 0 / 0.5592 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.327, allocations: 11.97 kB / 0.5592 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.3277, allocations: 440.2 kB / 0.5596 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.3277, allocations: 27.81 kB / 0.5597 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.3278, allocations: 4 kB / 0.5597 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.328, allocations: 8.031 kB / 0.5597 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.328, allocations: 15.98 kB / 0.5597 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.328, allocations: 7.938 kB / 0.5597 GB, free: 2.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.3283, allocations: 199.1 kB / 0.5599 GB, free: 2.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3283, allocations: 0 / 0.5599 GB, free: 2.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.3287, allocations: 76 kB / 0.5599 GB, free: 2.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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.000128/0.3288, allocations: 99.19 kB / 0.56 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.3293, allocations: 196.4 kB / 0.5602 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3293, allocations: 0 / 0.5602 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3295, allocations: 76.16 kB / 0.5603 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.3301, allocations: 87.81 kB / 0.5604 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3319, allocations: 0.9228 MB / 0.5613 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3321, allocations: 210.5 kB / 0.5615 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.3322, allocations: 27.44 kB / 0.5615 GB, free: 0.793 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3322, allocations: 0 / 0.5615 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Templates: time 0.007805/0.34, allocations: 4.484 MB / 0.5659 GB, free: 12.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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: 7.970111484173685]