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.0008133/0.0008133, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004581/0.004581, allocations: 161.5 kB / 24.7 MB, free: 9.43 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 0.8509/0.8509, allocations: 177.1 MB / 205 MB, free: 5.727 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.2132/0.2132, allocations: 29.42 MB / 290.9 MB, free: 2.414 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.794e-06/1.794e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.983e-05, allocations: 6.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004006/0.004026, allocations: 4.67 MB / 436.1 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.005521, allocations: 1.409 MB / 437.6 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.005673, allocations: 19.81 kB / 437.6 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.00593, allocations: 111 kB / 437.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.006323, allocations: 278.2 kB / 437.9 MB, free: 6.566 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.006524, allocations: 143.6 kB / 438.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.006974, allocations: 0.6069 MB / 438.7 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.007236, allocations: 287.3 kB / 439 MB, free: 5.527 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.007505, allocations: 359.1 kB / 439.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.007712, allocations: 195.4 kB / 439.5 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.007747, allocations: 36 kB / 439.6 MB, free: 4.949 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.954e-05/0.007787, allocations: 40 kB / 439.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.007868, allocations: 127.6 kB / 439.7 MB, free: 4.785 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.007969, allocations: 155.6 kB / 439.9 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.008312, allocations: 0.4985 MB / 440.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.008315, allocations: 3.984 kB / 440.4 MB, free: 4.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.008316, allocations: 0 / 440.4 MB, free: 4.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.008321, allocations: 0 / 440.4 MB, free: 4.129 MB / 410.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.0007149/0.009036, allocations: 0.6467 MB / 441 MB, free: 3.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.009065, allocations: 11.98 kB / 441 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.009125, allocations: 48.66 kB / 441.1 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.009504, allocations: 348 kB / 441.4 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.009575, allocations: 80.97 kB / 441.5 MB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.00962, allocations: 44.12 kB / 441.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.01002, allocations: 432.3 kB / 442 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.01004, allocations: 7.891 kB / 442 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.01006, allocations: 16 kB / 442 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.01007, allocations: 12 kB / 442 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.01037, allocations: 274.3 kB / 442.3 MB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.01153, allocations: 1.63 MB / 443.9 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.01173, allocations: 167.5 kB / 444.1 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.01181, allocations: 68.23 kB / 444.1 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.01182, allocations: 7.984 kB / 444.1 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.01184, allocations: 34.56 kB / 444.2 MB, free: 92 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.01184, allocations: 0 / 444.2 MB, free: 92 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1432/0.155, allocations: 0.6364 MB / 444.8 MB, free: 54.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.155, allocations: 113.5 kB / 444.9 MB, free: 54.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1552, allocations: 292.3 kB / 445.2 MB, free: 54.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1552, allocations: 29.64 kB / 445.2 MB, free: 54.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.1553, allocations: 249.6 kB / 445.5 MB, free: 54.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1554, allocations: 75.88 kB / 445.5 MB, free: 54.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.1554, allocations: 65.91 kB / 445.6 MB, free: 54.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.1555, allocations: 342.6 kB / 445.9 MB, free: 53.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.1556, allocations: 74.55 kB / 446 MB, free: 53.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1557, allocations: 201.1 kB / 446.2 MB, free: 53.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1559, allocations: 298.8 kB / 446.5 MB, free: 53.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1559, allocations: 0 / 446.5 MB, free: 53.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002762/0.1562, allocations: 330.2 kB / 446.8 MB, free: 53.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1562, allocations: 6.5 kB / 446.8 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1562, allocations: 2.938 kB / 446.8 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1562, allocations: 6.031 kB / 446.8 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1564, allocations: 77.89 kB / 446.9 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1564, allocations: 6.438 kB / 446.9 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.1565, allocations: 22.22 kB / 446.9 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1565, allocations: 13.38 kB / 447 MB, free: 53.33 MB / 410.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.0001137/0.1566, allocations: 184.4 kB / 447.1 MB, free: 53.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1566, allocations: 29.09 kB / 447.2 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1568, allocations: 194 kB / 447.4 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1568, allocations: 6.641 kB / 447.4 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1568, allocations: 0 / 447.4 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1568, allocations: 2.906 kB / 447.4 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.1573, allocations: 0.5181 MB / 447.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1573, allocations: 3.094 kB / 447.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.1574, allocations: 42.67 kB / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1574, allocations: 0 / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1574, allocations: 7.188 kB / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1574, allocations: 3.219 kB / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1575, allocations: 0 / 447.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.1578, allocations: 453.2 kB / 448.4 MB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.1578, allocations: 23.81 kB / 448.4 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1578, allocations: 7.25 kB / 448.4 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.1579, allocations: 7.094 kB / 448.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1579, allocations: 18.8 kB / 448.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1579, allocations: 13.38 kB / 448.5 MB, free: 52.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.117e-05/0.158, allocations: 193.3 kB / 448.6 MB, free: 52.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 448.6 MB, free: 52.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.1583, allocations: 72.08 kB / 448.7 MB, free: 52.24 MB / 410.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 7.225e-05/0.1584, allocations: 97.59 kB / 448.8 MB, free: 52.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1586, allocations: 186.7 kB / 449 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1586, allocations: 0 / 449 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.1587, allocations: 79.34 kB / 449.1 MB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.159, allocations: 88.16 kB / 449.2 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.1599, allocations: 0.8147 MB / 450 MB, free: 51.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1601, allocations: 213.6 kB / 450.2 MB, free: 51.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.1601, allocations: 31.34 kB / 450.2 MB, free: 51.45 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1601, allocations: 0 / 450.2 MB, free: 51.45 MB / 410.7 MB Notification: Performance of Templates: time 0.003768/0.1639, allocations: 4.487 MB / 454.7 MB, free: 51.02 MB / 410.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.664550642482936]