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.001828/0.001828, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002256/0.002256, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.1847/0.1847, allocations: 38.53 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="cs",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.002052/0.002052, allocations: 63.89 kB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 62.47 MB / 0.5428 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007004/0.3312, allocations: 4.976 MB / 0.5476 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3335, allocations: 1.523 MB / 0.5491 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.3338, allocations: 22.28 kB / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.3342, allocations: 114.7 kB / 0.5492 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.3349, allocations: 268.4 kB / 0.5495 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.3353, allocations: 142.6 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007991/0.3361, allocations: 0.5847 MB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.3366, allocations: 299.1 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.337, allocations: 247.1 kB / 0.5507 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.3373, allocations: 247 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.3374, allocations: 43.06 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.3375, allocations: 39.78 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3376, allocations: 122.7 kB / 0.5512 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.3378, allocations: 224.4 kB / 0.5514 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.3385, allocations: 0.5036 MB / 0.5519 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3385, allocations: 0 / 0.5519 GB, free: 9.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.688e-06/0.3385, allocations: 3.984 kB / 0.5519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3385, allocations: 0 / 0.5519 GB, free: 9.461 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.001315/0.3398, allocations: 0.6444 MB / 0.5525 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3399, allocations: 14.48 kB / 0.5525 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.317e-05/0.3399, allocations: 9.281 kB / 0.5525 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.375e-05/0.34, allocations: 70.62 kB / 0.5526 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.3401, allocations: 46.66 kB / 0.5526 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.3407, allocations: 363.3 kB / 0.553 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.3409, allocations: 84.94 kB / 0.5531 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.3409, allocations: 34.44 kB / 0.5531 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.3416, allocations: 433.7 kB / 0.5535 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.3417, allocations: 5.312 kB / 0.5535 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.3417, allocations: 15.88 kB / 0.5535 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3417, allocations: 8.062 kB / 0.5535 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.3423, allocations: 279.2 kB / 0.5538 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.3446, allocations: 1.772 MB / 0.5555 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.3449, allocations: 173.5 kB / 0.5557 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3451, allocations: 74.02 kB / 0.5558 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3451, allocations: 2.406 kB / 0.5558 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3451, allocations: 36.75 kB / 0.5558 GB, free: 6.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.3451, allocations: 0 / 0.5558 GB, free: 6.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001423/0.3466, allocations: 0.6486 MB / 0.5564 GB, free: 5.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3466, allocations: 110.3 kB / 0.5565 GB, free: 5.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.347, allocations: 308.6 kB / 0.5568 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.347, allocations: 30.98 kB / 0.5569 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.3472, allocations: 251.4 kB / 0.5571 GB, free: 5.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.3473, allocations: 76.3 kB / 0.5572 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3474, allocations: 69.48 kB / 0.5572 GB, free: 4.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3475, allocations: 338.4 kB / 0.5576 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.3477, allocations: 74.92 kB / 0.5576 GB, free: 4.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.348, allocations: 204 kB / 0.5578 GB, free: 4.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.3484, allocations: 291.2 kB / 0.5581 GB, free: 4.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3484, allocations: 5.094 kB / 0.5581 GB, free: 4.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005613/0.349, allocations: 324.4 kB / 0.5584 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.349, allocations: 11.23 kB / 0.5584 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.349, allocations: 3.531 kB / 0.5584 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.349, allocations: 10.75 kB / 0.5585 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3493, allocations: 80.94 kB / 0.5585 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3494, allocations: 4 kB / 0.5585 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3495, allocations: 15.98 kB / 0.5585 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3496, allocations: 16 kB / 0.5586 GB, free: 3.871 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.0002058/0.3498, allocations: 181.6 kB / 0.5587 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.3499, allocations: 35.75 kB / 0.5588 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.3503, allocations: 200.6 kB / 0.559 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3503, allocations: 0 / 0.559 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3503, allocations: 0 / 0.559 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3503, allocations: 7.938 kB / 0.559 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3513, allocations: 0.5908 MB / 0.5595 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3513, allocations: 0 / 0.5595 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.3516, allocations: 47.95 kB / 0.5596 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3516, allocations: 0 / 0.5596 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3516, allocations: 4 kB / 0.5596 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3516, allocations: 7.984 kB / 0.5596 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3516, allocations: 0 / 0.5596 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.3523, allocations: 456.1 kB / 0.56 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.3523, allocations: 23.81 kB / 0.5601 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.3524, allocations: 12 kB / 0.5601 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3526, allocations: 11.94 kB / 0.5601 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3526, allocations: 12.06 kB / 0.5601 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3526, allocations: 11.92 kB / 0.5601 GB, free: 2.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3529, allocations: 219.1 kB / 0.5603 GB, free: 1.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3529, allocations: 4 kB / 0.5603 GB, free: 1.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.3533, allocations: 68 kB / 0.5604 GB, free: 1.91 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.0009725/0.3543, allocations: 0.9855 MB / 0.5613 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3547, allocations: 183.7 kB / 0.5615 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3548, allocations: 1.125 kB / 0.5615 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3549, allocations: 75.84 kB / 0.5616 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.3556, allocations: 97.42 kB / 0.5617 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.3605, allocations: 3.427 MB / 0.565 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3609, allocations: 0.8107 MB / 0.5658 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.3611, allocations: 55.25 kB / 0.5659 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3614, allocations: 119.4 kB / 0.566 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3614, allocations: 0 / 0.566 GB, free: 11.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.3934, allocations: 7.421 MB / 0.5732 GB, free: 4.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.04, allocations: 12.44 kB / 0.5733 GB, free: 4.652 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.018786342989188]