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.001373/0.001373, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00156/0.00156, allocations: 218.2 kB / 23.73 MB, free: 4.16 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.491/1.491, allocations: 230.6 MB / 257.5 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.1911/0.1911, allocations: 38.56 MB / 352.5 MB, free: 12.3 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) [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.002378/0.002378, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3379, allocations: 62.46 MB / 0.5419 GB, free: 100 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007201/0.3451, allocations: 4.703 MB / 0.5465 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.3476, allocations: 1.401 MB / 0.5479 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.3478, allocations: 22.88 kB / 0.5479 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.3482, allocations: 98.72 kB / 0.548 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.3489, allocations: 267.6 kB / 0.5483 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3493, allocations: 144.1 kB / 0.5484 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.3501, allocations: 0.5836 MB / 0.549 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.3505, allocations: 291.5 kB / 0.5493 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.3509, allocations: 246.9 kB / 0.5495 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.3513, allocations: 227.1 kB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.3514, allocations: 43.34 kB / 0.5497 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.3514, allocations: 39.5 kB / 0.5498 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3516, allocations: 118 kB / 0.5499 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3518, allocations: 185.2 kB / 0.5501 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.3524, allocations: 0.5041 MB / 0.5506 GB, free: 9.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3524, allocations: 4 kB / 0.5506 GB, free: 9.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3524, allocations: 1.281 kB / 0.5506 GB, free: 9.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3524, allocations: 0 / 0.5506 GB, free: 9.633 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.001283/0.3537, allocations: 0.6461 MB / 0.5512 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3537, allocations: 12.83 kB / 0.5512 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.3538, allocations: 70.88 kB / 0.5513 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.3539, allocations: 50.98 kB / 0.5513 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.3546, allocations: 358.5 kB / 0.5517 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.3547, allocations: 82.12 kB / 0.5517 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.3548, allocations: 39.53 kB / 0.5518 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.3555, allocations: 443.2 kB / 0.5522 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3555, allocations: 5.094 kB / 0.5522 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3555, allocations: 12.66 kB / 0.5522 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3555, allocations: 8.625 kB / 0.5522 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.3561, allocations: 277.2 kB / 0.5525 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.3583, allocations: 1.689 MB / 0.5541 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.3587, allocations: 169.4 kB / 0.5543 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3588, allocations: 70.42 kB / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3589, allocations: 2.188 kB / 0.5544 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3589, allocations: 33.47 kB / 0.5544 GB, free: 6.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3589, allocations: 0 / 0.5544 GB, free: 6.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001385/0.3603, allocations: 0.6522 MB / 0.555 GB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3603, allocations: 106.1 kB / 0.5551 GB, free: 5.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.3607, allocations: 326.6 kB / 0.5555 GB, free: 5.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3607, allocations: 26.92 kB / 0.5555 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3609, allocations: 251.5 kB / 0.5557 GB, free: 5.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.361, allocations: 68.39 kB / 0.5558 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3611, allocations: 70.66 kB / 0.5559 GB, free: 5.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3613, allocations: 337.8 kB / 0.5562 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3614, allocations: 74.3 kB / 0.5563 GB, free: 4.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.3617, allocations: 200.8 kB / 0.5564 GB, free: 4.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.3623, allocations: 292.7 kB / 0.5567 GB, free: 4.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3623, allocations: 1.219 kB / 0.5567 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008021/0.3631, allocations: 337.6 kB / 0.557 GB, free: 4.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3631, allocations: 8 kB / 0.5571 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3631, allocations: 4 kB / 0.5571 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.3631, allocations: 4.562 kB / 0.5571 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3635, allocations: 79.89 kB / 0.5571 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.3635, allocations: 15.88 kB / 0.5572 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.3637, allocations: 12 kB / 0.5572 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.3638, allocations: 16 kB / 0.5572 GB, free: 4.008 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.0002724/0.364, allocations: 177.7 kB / 0.5573 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3642, allocations: 39.73 kB / 0.5574 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.3646, allocations: 196.6 kB / 0.5576 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3646, allocations: 4 kB / 0.5576 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3646, allocations: 4 kB / 0.5576 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3646, allocations: 7.984 kB / 0.5576 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3659, allocations: 0.5645 MB / 0.5581 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.3659, allocations: 7.984 kB / 0.5581 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.3661, allocations: 31.98 kB / 0.5582 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3661, allocations: 7.938 kB / 0.5582 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3661, allocations: 8 kB / 0.5582 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3661, allocations: 3.938 kB / 0.5582 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3661, allocations: 0 / 0.5582 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.3669, allocations: 451 kB / 0.5586 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.3669, allocations: 35.8 kB / 0.5587 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.367, allocations: 8 kB / 0.5587 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3672, allocations: 4 kB / 0.5587 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.3673, allocations: 19.91 kB / 0.5587 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3673, allocations: 4 kB / 0.5587 GB, free: 2.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.3675, allocations: 223 kB / 0.5589 GB, free: 2.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3675, allocations: 0 / 0.5589 GB, free: 2.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.368, allocations: 72 kB / 0.559 GB, free: 2.07 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.0009397/0.3689, allocations: 0.9842 MB / 0.5599 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.3694, allocations: 188.5 kB / 0.5601 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3694, allocations: 0 / 0.5601 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3696, allocations: 80.16 kB / 0.5602 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.3703, allocations: 93.19 kB / 0.5603 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.3752, allocations: 3.434 MB / 0.5636 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3755, allocations: 214.4 kB / 0.5638 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.3757, allocations: 51.25 kB / 0.5639 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.3759, allocations: 123.4 kB / 0.564 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3759, allocations: 0 / 0.564 GB, free: 12.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.4176, allocations: 7.891 MB / 0.5717 GB, free: 4.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 8.062 kB / 0.5717 GB, free: 4.977 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable efficiency.eta in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable efficiency.eta from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable machine.motor.tau_el in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable machine.motor.tau_el from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable machine.motor.w_el in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable machine.motor.w_el from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.79831774905324]