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.001111/0.001111, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001098/0.001098, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.268/0.268, allocations: 29.42 MB / 291.2 MB, free: 2.504 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.588e-05, allocations: 5.812 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.005006/0.005041, allocations: 4.965 MB / 374.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006835, allocations: 1.449 MB / 376 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.007094, allocations: 23.81 kB / 376.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.007447, allocations: 107.1 kB / 376.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.008022, allocations: 270.2 kB / 376.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.00831, allocations: 151.5 kB / 376.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.008926, allocations: 0.5952 MB / 377.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.009266, allocations: 307.4 kB / 377.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.009636, allocations: 355.1 kB / 377.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.009941, allocations: 211.4 kB / 378 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.009989, allocations: 40 kB / 378.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.01004, allocations: 40 kB / 378.1 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.01015, allocations: 131.6 kB / 378.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.01029, allocations: 159.7 kB / 378.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.01067, allocations: 314.9 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01067, allocations: 4 kB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01067, allocations: 3.938 kB / 378.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01068, allocations: 0 / 378.7 MB, free: 2.203 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.0008744/0.01155, allocations: 0.7506 MB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.01159, allocations: 11.98 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.01169, allocations: 72.66 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.01213, allocations: 370.8 kB / 379.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/0.01222, allocations: 88.89 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.01227, allocations: 44.08 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.01267, allocations: 369.2 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.01268, allocations: 0 / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.01276, allocations: 12 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01277, allocations: 8 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.01299, allocations: 139.7 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.01461, allocations: 2.036 MB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.0148, allocations: 165 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.01486, allocations: 59.16 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01489, allocations: 4 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.01491, allocations: 41.39 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.01491, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007463/0.01566, allocations: 0.5501 MB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.01571, allocations: 110.8 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.01593, allocations: 338.2 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.01595, allocations: 29.7 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01607, allocations: 286.8 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01611, allocations: 87.3 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.01617, allocations: 71.89 kB / 384.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.0163, allocations: 0.5195 MB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.01636, allocations: 32.64 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.01649, allocations: 227.2 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01671, allocations: 281.1 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.01671, allocations: 4 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000589/0.0173, allocations: 273 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.01732, allocations: 8 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.01733, allocations: 4.562 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.01735, allocations: 4 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01752, allocations: 91.77 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.01753, allocations: 11.94 kB / 385.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.01761, allocations: 8 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01763, allocations: 16 kB / 385.8 MB, free: 10.58 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 0.0001057/0.01773, allocations: 176.5 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.01778, allocations: 35.81 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.01797, allocations: 150.3 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01798, allocations: 4 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.01798, allocations: 15.92 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01799, allocations: 0 / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.01847, allocations: 0.528 MB / 386.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01848, allocations: 4 kB / 386.7 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.0186, allocations: 39.97 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01861, allocations: 4 kB / 386.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01862, allocations: 3.938 kB / 386.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01862, allocations: 4 kB / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01862, allocations: 0 / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.01893, allocations: 482.2 kB / 387.2 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.01896, allocations: 31.8 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.01899, allocations: 7.938 kB / 387.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.01907, allocations: 8 kB / 387.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01911, allocations: 11.97 kB / 387.2 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.01912, allocations: 8 kB / 387.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.01923, allocations: 215 kB / 387.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01923, allocations: 0 / 387.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01948, allocations: 72 kB / 387.5 MB, free: 8.715 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.541e-05/0.01957, allocations: 103.2 kB / 387.6 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01978, allocations: 151.4 kB / 387.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01979, allocations: 0 / 387.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.01986, allocations: 68.72 kB / 387.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.02025, allocations: 87.31 kB / 387.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.02165, allocations: 0.8054 MB / 388.7 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.02173, allocations: 124.6 kB / 388.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.848e-05/0.02182, allocations: 42.91 kB / 388.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.02187, allocations: 24.5 kB / 388.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02188, allocations: 0 / 388.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of Templates: time 0.00508/0.02696, allocations: 2.99 MB / 391.9 MB, free: 4.328 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.123704971978441]