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.00167/0.00167, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001391/0.001391, allocations: 172.6 kB / 24.82 MB, free: 9.266 MB / 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.3117/0.3117, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.301e-05, allocations: 5.406 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004709/0.004732, allocations: 4.547 MB / 374.7 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.0069, allocations: 1.449 MB / 376.1 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.00715, allocations: 23.81 kB / 376.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.007452, allocations: 103.2 kB / 376.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.007993, allocations: 274.1 kB / 376.5 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.008255, allocations: 139.7 kB / 376.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.008828, allocations: 0.5991 MB / 377.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.009163, allocations: 307.3 kB / 377.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.009537, allocations: 363.2 kB / 377.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.009787, allocations: 207.4 kB / 378.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.009831, allocations: 40 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.00988, allocations: 40 kB / 378.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.009973, allocations: 131.6 kB / 378.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.01008, allocations: 147.7 kB / 378.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.01039, allocations: 322.9 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.0104, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0104, allocations: 4 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.0104, allocations: 4 kB / 378.8 MB, free: 2.027 MB / 346.7 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.0007222/0.01112, allocations: 0.7349 MB / 379.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01116, allocations: 11.98 kB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.01124, allocations: 76.66 kB / 379.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.01162, allocations: 362.8 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.0117, allocations: 84.95 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.01175, allocations: 48.08 kB / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.0121, allocations: 341.3 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01211, allocations: 3.938 kB / 380.4 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.01213, allocations: 16 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.01214, allocations: 8 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.01228, allocations: 116.4 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.0139, allocations: 2.036 MB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.01405, allocations: 157 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.0141, allocations: 51.17 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.01411, allocations: 4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.01414, allocations: 41.39 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.01414, allocations: 0 / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.000557/0.01469, allocations: 388.5 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.01474, allocations: 114.7 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01494, allocations: 338 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.01496, allocations: 29.7 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01508, allocations: 298.8 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.01512, allocations: 71.38 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.01519, allocations: 75.61 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01532, allocations: 0.5195 MB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.01536, allocations: 32.88 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.01548, allocations: 215.2 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.01567, allocations: 265 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01568, allocations: 0 / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002422/0.01592, allocations: 256.9 kB / 385.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01593, allocations: 8 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01594, allocations: 4 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01595, allocations: 8 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01611, allocations: 88.39 kB / 385.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01612, allocations: 7.938 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.01621, allocations: 12 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01622, allocations: 12 kB / 385.5 MB, free: 10.7 MB / 362.7 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 9.738e-05/0.01632, allocations: 180.4 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.01636, allocations: 31.81 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.01652, allocations: 142.7 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01652, allocations: 3.938 kB / 385.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01652, allocations: 7.938 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01653, allocations: 3.984 kB / 385.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.01697, allocations: 477.4 kB / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01697, allocations: 0 / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.01709, allocations: 47.91 kB / 386.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.0171, allocations: 8 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01711, allocations: 0 / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01711, allocations: 7.938 kB / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01711, allocations: 0 / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01738, allocations: 462.1 kB / 386.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.01741, allocations: 27.84 kB / 386.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.01743, allocations: 11.98 kB / 386.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.01751, allocations: 11.94 kB / 386.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.01755, allocations: 16 kB / 386.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01756, allocations: 4 kB / 386.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.163e-05/0.01765, allocations: 210.9 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01765, allocations: 0 / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000268/0.01792, allocations: 72 kB / 387.2 MB, free: 8.93 MB / 362.7 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 8.704e-05/0.01801, allocations: 103.1 kB / 387.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01817, allocations: 143.3 kB / 387.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01817, allocations: 0 / 387.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.01823, allocations: 59.59 kB / 387.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.01861, allocations: 79.34 kB / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.01994, allocations: 0.8115 MB / 388.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.02002, allocations: 112.6 kB / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.02013, allocations: 46.94 kB / 388.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.02027, allocations: 130.2 kB / 388.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02027, allocations: 0 / 388.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of Templates: time 0.005491/0.02576, allocations: 3.26 MB / 391.9 MB, free: 4.199 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.323177254293114]