Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002503/0.002503, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2035/0.2035, allocations: 38.5 MB / 342.5 MB, free: 8.094 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.77 kB / 478.6 MB, free: 33.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 61.25 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006469/0.1152, allocations: 4.554 MB / 0.5317 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1179, allocations: 1.41 MB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1181, allocations: 15.94 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.119, allocations: 290.7 kB / 0.5333 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.1197, allocations: 282.7 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.1204, allocations: 259.4 kB / 0.5339 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008444/0.1212, allocations: 0.6585 MB / 0.5345 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.1216, allocations: 204 kB / 0.5347 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.1222, allocations: 306.9 kB / 0.535 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.1229, allocations: 434.8 kB / 0.5354 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-05/0.123, allocations: 44 kB / 0.5354 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.1235, allocations: 231.6 kB / 0.5357 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.1237, allocations: 255.2 kB / 0.5359 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.1241, allocations: 294.6 kB / 0.5362 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.1252, allocations: 0.7549 MB / 0.5369 GB, free: 7.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1252, allocations: 0 / 0.5369 GB, free: 7.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1252, allocations: 0 / 0.5369 GB, free: 7.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1252, allocations: 0 / 0.5369 GB, free: 7.406 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001755/0.127, allocations: 0.8955 MB / 0.5378 GB, free: 6.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.127, allocations: 19.77 kB / 0.5378 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.1271, allocations: 94.69 kB / 0.5379 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005658/0.1277, allocations: 100.5 kB / 0.538 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/0.1285, allocations: 432.3 kB / 0.5384 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1286, allocations: 29.36 kB / 0.5384 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.1287, allocations: 51.91 kB / 0.5385 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.13, allocations: 0.8591 MB / 0.5393 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.13, allocations: 3.938 kB / 0.5393 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.1301, allocations: 23.98 kB / 0.5394 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1302, allocations: 56.95 kB / 0.5394 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1316, allocations: 0.7963 MB / 0.5402 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.1361, allocations: 2.722 MB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.1371, allocations: 498.2 kB / 0.5433 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.1376, allocations: 354.7 kB / 0.5437 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.1376, allocations: 12.23 kB / 0.5437 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1377, allocations: 38.56 kB / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.535e-06/0.1377, allocations: 0 / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003453/0.1411, allocations: 1.896 MB / 0.5456 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.1413, allocations: 134.8 kB / 0.5457 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1416, allocations: 300.4 kB / 0.546 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1416, allocations: 33.7 kB / 0.546 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1418, allocations: 260.9 kB / 0.5463 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.142, allocations: 194.3 kB / 0.5464 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1422, allocations: 106.2 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1424, allocations: 354.8 kB / 0.5469 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.1429, allocations: 344.9 kB / 0.5472 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.1435, allocations: 489.7 kB / 0.5477 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.1449, allocations: 0.976 MB / 0.5486 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1449, allocations: 4 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001755/0.1467, allocations: 0.9887 MB / 0.5496 GB, free: 9.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.1468, allocations: 77.59 kB / 0.5497 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1468, allocations: 4.562 kB / 0.5497 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.147, allocations: 44.78 kB / 0.5497 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.1475, allocations: 83.88 kB / 0.5498 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.1496, allocations: 1.555 MB / 0.5513 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.1501, allocations: 35.97 kB / 0.5514 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.1502, allocations: 31.92 kB / 0.5514 GB, free: 7.879 MB / 414.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: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000643/0.1508, allocations: 291.3 kB / 0.5517 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.151, allocations: 47.72 kB / 0.5517 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.1535, allocations: 1.088 MB / 0.5528 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/0.1535, allocations: 8 kB / 0.5528 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.1536, allocations: 4 kB / 0.5528 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1536, allocations: 3.984 kB / 0.5528 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.1578, allocations: 1.792 MB / 0.5545 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1578, allocations: 4.062 kB / 0.5545 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.1582, allocations: 59.89 kB / 0.5546 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.1584, allocations: 32.84 kB / 0.5546 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.1585, allocations: 15.98 kB / 0.5546 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.1605, allocations: 1.559 MB / 0.5562 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1605, allocations: 0 / 0.5562 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.163, allocations: 1.179 MB / 0.5573 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.1634, allocations: 172.8 kB / 0.5575 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1635, allocations: 15.98 kB / 0.5575 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.1639, allocations: 23.97 kB / 0.5575 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.1641, allocations: 47.89 kB / 0.5576 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/0.1642, allocations: 19.98 kB / 0.5576 GB, free: 1.227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.1646, allocations: 211 kB / 0.5578 GB, free: 1.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1646, allocations: 0 / 0.5578 GB, free: 1.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000908/0.1655, allocations: 139.9 kB / 0.5579 GB, free: 0.8789 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/0.1688, allocations: 1.771 MB / 0.5596 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.1715, allocations: 1.148 MB / 0.5608 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1715, allocations: 0 / 0.5608 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.173, allocations: 0.7014 MB / 0.5615 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.1738, allocations: 76.05 kB / 0.5615 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.1878, allocations: 5.896 MB / 0.5673 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.1889, allocations: 0.9015 MB / 0.5682 GB, free: 6.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005754/0.1895, allocations: 111.2 kB / 0.5683 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.1898, allocations: 151.4 kB / 0.5684 GB, free: 5.785 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1898, allocations: 0 / 0.5684 GB, free: 5.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.246, allocations: 10.39 MB / 0.5786 GB, free: 11.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.76, allocations: 6.516 kB / 0.5786 GB, free: 11.54 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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: 13.762802361045033]