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.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.001647/0.001647, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001455/0.001455, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.1858/0.1858, allocations: 38.54 MB / 353.2 MB, free: 12.32 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.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",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.002067/0.002067, allocations: 71.83 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 62.47 MB / 0.5427 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006609/0.3376, allocations: 4.409 MB / 0.547 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3401, allocations: 1.357 MB / 0.5483 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3404, allocations: 19.84 kB / 0.5484 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009246/0.3413, allocations: 287.5 kB / 0.5486 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.342, allocations: 287.7 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.3427, allocations: 254.4 kB / 0.5491 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007677/0.3434, allocations: 0.6629 MB / 0.5498 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.3438, allocations: 208.9 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.3443, allocations: 319.2 kB / 0.5503 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/0.3449, allocations: 445.7 kB / 0.5507 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.345, allocations: 44.91 kB / 0.5508 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.3454, allocations: 224.4 kB / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.3457, allocations: 250.5 kB / 0.5512 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.3461, allocations: 241.1 kB / 0.5514 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009163/0.347, allocations: 0.7624 MB / 0.5522 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.347, allocations: 0 / 0.5522 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.347, allocations: 4 kB / 0.5522 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.347, allocations: 1.156 kB / 0.5522 GB, free: 9.051 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.001647/0.3487, allocations: 0.8232 MB / 0.553 GB, free: 8.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3487, allocations: 13.2 kB / 0.553 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.15e-05/0.3487, allocations: 12.53 kB / 0.553 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.3489, allocations: 100.3 kB / 0.5531 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.3496, allocations: 126.7 kB / 0.5532 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.3503, allocations: 378 kB / 0.5536 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.3504, allocations: 37.58 kB / 0.5536 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.3505, allocations: 34.91 kB / 0.5537 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3519, allocations: 0.9347 MB / 0.5546 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3519, allocations: 1.094 kB / 0.5546 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.352, allocations: 21.45 kB / 0.5546 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.3521, allocations: 58.89 kB / 0.5547 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3535, allocations: 0.8733 MB / 0.5555 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.3578, allocations: 2.54 MB / 0.558 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3589, allocations: 0.5618 MB / 0.5585 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/0.3596, allocations: 436.3 kB / 0.559 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.3596, allocations: 11.92 kB / 0.559 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.3597, allocations: 38.56 kB / 0.559 GB, free: 2.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 5.721e-06/0.3597, allocations: 0 / 0.559 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003684/0.3634, allocations: 1.994 MB / 0.561 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.3635, allocations: 150.7 kB / 0.5611 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.3639, allocations: 300.4 kB / 0.5614 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.364, allocations: 33.69 kB / 0.5614 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.3642, allocations: 264.9 kB / 0.5617 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.3645, allocations: 198.4 kB / 0.5619 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3647, allocations: 94.11 kB / 0.562 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3649, allocations: 354.8 kB / 0.5623 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.3655, allocations: 418.6 kB / 0.5627 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.3662, allocations: 0.5463 MB / 0.5632 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3675, allocations: 1.019 MB / 0.5642 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3675, allocations: 7.875 kB / 0.5642 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001825/0.3693, allocations: 1.084 MB / 0.5653 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3694, allocations: 69.66 kB / 0.5654 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3694, allocations: 8 kB / 0.5654 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.3696, allocations: 36.84 kB / 0.5654 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.37, allocations: 87.81 kB / 0.5655 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3715, allocations: 1.444 MB / 0.5669 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.3719, allocations: 39.86 kB / 0.5669 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/0.372, allocations: 27.98 kB / 0.567 GB, free: 10.46 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.0004566/0.3724, allocations: 299.4 kB / 0.5672 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3726, allocations: 47.75 kB / 0.5673 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.3743, allocations: 1.139 MB / 0.5684 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.3743, allocations: 16.06 kB / 0.5684 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3743, allocations: 0 / 0.5684 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3744, allocations: 3.984 kB / 0.5684 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.3771, allocations: 1.768 MB / 0.5701 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3771, allocations: 0 / 0.5701 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.3774, allocations: 55.91 kB / 0.5702 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.3775, allocations: 36.83 kB / 0.5702 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.3775, allocations: 19.92 kB / 0.5702 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3788, allocations: 1.44 MB / 0.5717 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3788, allocations: 0 / 0.5717 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3805, allocations: 1.238 MB / 0.5729 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.3808, allocations: 99.66 kB / 0.573 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.3809, allocations: 16 kB / 0.573 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.3811, allocations: 31.95 kB / 0.573 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3813, allocations: 43.81 kB / 0.573 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.3814, allocations: 32.05 kB / 0.5731 GB, free: 3.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.3816, allocations: 203.1 kB / 0.5733 GB, free: 3.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3816, allocations: 0 / 0.5733 GB, free: 3.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007112/0.3823, allocations: 143.9 kB / 0.5734 GB, free: 3.566 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.002376/0.3847, allocations: 1.82 MB / 0.5752 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3866, allocations: 1.28 MB / 0.5764 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3866, allocations: 0 / 0.5764 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009693/0.3876, allocations: 0.7394 MB / 0.5772 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.3882, allocations: 77.61 kB / 0.5772 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008469/0.3966, allocations: 6.335 MB / 0.5834 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.397, allocations: 298.5 kB / 0.5837 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.3973, allocations: 99.19 kB / 0.5838 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.3975, allocations: 159.3 kB / 0.5839 GB, free: 8.398 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3975, allocations: 0 / 0.5839 GB, free: 8.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.4362, allocations: 10.97 MB / 0.5947 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13, allocations: 7.922 kB / 0.5947 GB, free: 13.6 MB / 446.1 MB " [Timeout remaining time 647] (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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.998035712982528]