Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001759/0.001759, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002228/0.002228, allocations: 219 kB / 21.46 MB, free: 1.586 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.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1853/0.1853, allocations: 38.5 MB / 349.4 MB, free: 2.598 MB / 270.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.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",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.002225/0.002225, allocations: 63.89 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.42 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007355/0.1396, allocations: 4.636 MB / 0.5419 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1423, allocations: 1.363 MB / 0.5432 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.1427, allocations: 19.81 kB / 0.5432 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1441, allocations: 410.3 kB / 0.5436 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009421/0.145, allocations: 250.8 kB / 0.5439 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1457, allocations: 167.6 kB / 0.544 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009972/0.1467, allocations: 0.5685 MB / 0.5446 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.1472, allocations: 233.2 kB / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.1479, allocations: 274.9 kB / 0.5451 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.1484, allocations: 287 kB / 0.5453 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1485, allocations: 35.92 kB / 0.5454 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.1489, allocations: 139.8 kB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1491, allocations: 183.5 kB / 0.5457 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.1495, allocations: 226.9 kB / 0.5459 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.1503, allocations: 0.502 MB / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1504, allocations: 0 / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1504, allocations: 0 / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.1504, allocations: 0 / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00164/0.152, allocations: 0.718 MB / 0.5471 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1521, allocations: 12.03 kB / 0.5471 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.919e-05/0.1521, allocations: 9.188 kB / 0.5471 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.169e-05/0.1522, allocations: 70.72 kB / 0.5472 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.1529, allocations: 92.55 kB / 0.5473 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.1536, allocations: 407.5 kB / 0.5477 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.1537, allocations: 33.12 kB / 0.5477 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1538, allocations: 47.92 kB / 0.5477 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.1546, allocations: 472.8 kB / 0.5482 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1546, allocations: 3.938 kB / 0.5482 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.1547, allocations: 12 kB / 0.5482 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.1548, allocations: 28.98 kB / 0.5482 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.1554, allocations: 335.7 kB / 0.5486 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.158, allocations: 1.706 MB / 0.5502 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.1584, allocations: 149 kB / 0.5504 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1585, allocations: 93.73 kB / 0.5504 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1585, allocations: 12.22 kB / 0.5505 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.1586, allocations: 34.56 kB / 0.5505 GB, free: 9.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.1586, allocations: 0 / 0.5505 GB, free: 9.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00169/0.1603, allocations: 0.8641 MB / 0.5513 GB, free: 8.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.1603, allocations: 81.11 kB / 0.5514 GB, free: 8.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.1607, allocations: 304.5 kB / 0.5517 GB, free: 8.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.1608, allocations: 33.64 kB / 0.5517 GB, free: 8.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.161, allocations: 252 kB / 0.552 GB, free: 8.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.161, allocations: 71.41 kB / 0.552 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1612, allocations: 57.98 kB / 0.5521 GB, free: 8.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1613, allocations: 350.8 kB / 0.5524 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.1615, allocations: 88.23 kB / 0.5525 GB, free: 7.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1618, allocations: 197.3 kB / 0.5527 GB, free: 7.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1622, allocations: 315.8 kB / 0.553 GB, free: 6.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1622, allocations: 0 / 0.553 GB, free: 6.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009422/0.1632, allocations: 445.6 kB / 0.5534 GB, free: 6.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1632, allocations: 8.438 kB / 0.5534 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006167/0.1638, allocations: 292 kB / 0.5537 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.1643, allocations: 124.8 kB / 0.5538 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.1646, allocations: 55.84 kB / 0.5539 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.1677, allocations: 2.379 MB / 0.5562 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1679, allocations: 15.94 kB / 0.5562 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1679, allocations: 16.06 kB / 0.5562 GB, free: 3.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.1682, allocations: 190.3 kB / 0.5564 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1683, allocations: 31.81 kB / 0.5565 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.1688, allocations: 253.3 kB / 0.5567 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1688, allocations: 3.938 kB / 0.5567 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.1688, allocations: 0 / 0.5567 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1688, allocations: 7.984 kB / 0.5567 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1701, allocations: 0.7194 MB / 0.5574 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1701, allocations: 0 / 0.5574 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1703, allocations: 39.92 kB / 0.5575 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.1705, allocations: 36.89 kB / 0.5575 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1705, allocations: 4 kB / 0.5575 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.172, allocations: 1.596 MB / 0.5591 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.172, allocations: 0 / 0.5591 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.1726, allocations: 425.7 kB / 0.5595 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.1727, allocations: 108.9 kB / 0.5596 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1727, allocations: 4 kB / 0.5596 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.1729, allocations: 8 kB / 0.5596 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1729, allocations: 11.98 kB / 0.5596 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.173, allocations: 7.984 kB / 0.5596 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1732, allocations: 219.1 kB / 0.5598 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1732, allocations: 0 / 0.5598 GB, free: 15.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.1737, allocations: 88 kB / 0.5599 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.1747, allocations: 0.9604 MB / 0.5608 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.1756, allocations: 389.5 kB / 0.5612 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1756, allocations: 8.062 kB / 0.5612 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.176, allocations: 223.3 kB / 0.5614 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.1765, allocations: 73.27 kB / 0.5615 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/0.1821, allocations: 3.499 MB / 0.5649 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.1827, allocations: 0.838 MB / 0.5657 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1829, allocations: 62.92 kB / 0.5658 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.1831, allocations: 127.4 kB / 0.5659 GB, free: 9.078 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1831, allocations: 4 kB / 0.5659 GB, free: 9.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.2196, allocations: 7.587 MB / 0.5733 GB, free: 1.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.78, allocations: 4.062 kB / 0.5733 GB, free: 1.648 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.887653275043704]