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.001447/0.001447, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001588/0.001588, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.462/1.462, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3459/0.3459, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.633e-06/1.633e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.358e-05, allocations: 5.547 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007367/0.007401, allocations: 4.693 MB / 373.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.01015, allocations: 1.39 MB / 375 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.01047, allocations: 27.75 kB / 375 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.01091, allocations: 99.25 kB / 375.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.01169, allocations: 282.1 kB / 375.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.01209, allocations: 139.6 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008873/0.01297, allocations: 0.6147 MB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.01343, allocations: 295.4 kB / 376.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.01395, allocations: 347.1 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.01433, allocations: 195.4 kB / 376.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.0144, allocations: 36 kB / 377 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.01448, allocations: 40 kB / 377 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.01477, allocations: 135.6 kB / 377.1 MB, free: 3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.01499, allocations: 155.7 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007444/0.01573, allocations: 0.4985 MB / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.01574, allocations: 0 / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01574, allocations: 0 / 377.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.01575, allocations: 0 / 377.8 MB, free: 2.348 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.00149/0.01724, allocations: 0.6467 MB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.01728, allocations: 15.98 kB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.01744, allocations: 76.66 kB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.01813, allocations: 364 kB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.01827, allocations: 84.95 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.01834, allocations: 44.08 kB / 379 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.01911, allocations: 436.2 kB / 379.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.01913, allocations: 0 / 379.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-05/0.01917, allocations: 16 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01919, allocations: 8 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.01973, allocations: 274.3 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.02209, allocations: 1.646 MB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.02249, allocations: 171.7 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.02265, allocations: 74.61 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.02267, allocations: 4 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.02271, allocations: 34.5 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.02271, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001487/0.0242, allocations: 0.6478 MB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.02428, allocations: 106.8 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.02463, allocations: 300.6 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.02465, allocations: 29.7 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.02486, allocations: 252.1 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.02493, allocations: 71.39 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02503, allocations: 58.03 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.02523, allocations: 346.7 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.0254, allocations: 68.62 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.02571, allocations: 209.4 kB / 383.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.02623, allocations: 291 kB / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.02623, allocations: 4 kB / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007516/0.02699, allocations: 333.3 kB / 384.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.02702, allocations: 11.94 kB / 384.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.02703, allocations: 4 kB / 384.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.02705, allocations: 8 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.02736, allocations: 75.91 kB / 384.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.02738, allocations: 11.92 kB / 384.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.02756, allocations: 12.28 kB / 384.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.02759, allocations: 23.94 kB / 384.5 MB, free: 11.21 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.0002221/0.02781, allocations: 181.7 kB / 384.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.02789, allocations: 31.81 kB / 384.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.02835, allocations: 194.6 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.02836, allocations: 3.938 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.02837, allocations: 7.938 kB / 384.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02837, allocations: 0 / 384.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/0.02934, allocations: 0.5143 MB / 385.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.02934, allocations: 8.016 kB / 385.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.02959, allocations: 39.97 kB / 385.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.0296, allocations: 8 kB / 385.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.02962, allocations: 7.938 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.02962, allocations: 4 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02962, allocations: 0 / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.03032, allocations: 450.8 kB / 385.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.03037, allocations: 23.81 kB / 385.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.03041, allocations: 15.94 kB / 385.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.0306, allocations: 8.031 kB / 386 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.03066, allocations: 11.98 kB / 386 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.03068, allocations: 11.98 kB / 386 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.03091, allocations: 191.1 kB / 386.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03091, allocations: 3.938 kB / 386.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.03133, allocations: 72 kB / 386.2 MB, free: 9.371 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 0.0001382/0.03147, allocations: 99.19 kB / 386.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.03192, allocations: 191.7 kB / 386.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.03192, allocations: 0 / 386.5 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.0321, allocations: 71.91 kB / 386.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.03275, allocations: 90.36 kB / 386.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.03436, allocations: 0.7848 MB / 387.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.03462, allocations: 210.5 kB / 387.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.03479, allocations: 42.95 kB / 387.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.03486, allocations: 28.5 kB / 387.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03487, allocations: 0 / 387.7 MB, free: 7.809 MB / 362.7 MB Notification: Performance of Templates: time 0.007616/0.04248, allocations: 2.97 MB / 390.7 MB, free: 4.906 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins/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: 4.75604645605199]