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.001771/0.001771, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.002148/0.002148, allocations: 208.2 kB / 24.52 MB, free: 4.066 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1895/0.1895, allocations: 38.54 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.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.002/0.002, allocations: 63.91 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 62.47 MB / 0.5428 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006361/0.3335, allocations: 4.67 MB / 0.5473 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3364, allocations: 1.459 MB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.3367, allocations: 21.19 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.3377, allocations: 305.7 kB / 0.5491 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007366/0.3384, allocations: 283.4 kB / 0.5493 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.3393, allocations: 262.2 kB / 0.5496 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3404, allocations: 0.6636 MB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3408, allocations: 213.3 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.3414, allocations: 314.7 kB / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.342, allocations: 437.4 kB / 0.5512 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.3421, allocations: 45.34 kB / 0.5512 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.3426, allocations: 245.1 kB / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.3429, allocations: 250.4 kB / 0.5517 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.3432, allocations: 292.6 kB / 0.552 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3443, allocations: 0.76 MB / 0.5527 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3443, allocations: 3.938 kB / 0.5527 GB, free: 9.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3443, allocations: 0 / 0.5527 GB, free: 9.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3443, allocations: 0 / 0.5527 GB, free: 9.043 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.001698/0.346, allocations: 0.8238 MB / 0.5535 GB, free: 8.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.346, allocations: 14.05 kB / 0.5535 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.983e-05/0.346, allocations: 11.5 kB / 0.5535 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.3462, allocations: 95.34 kB / 0.5536 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007552/0.3469, allocations: 128.5 kB / 0.5537 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006828/0.3476, allocations: 380 kB / 0.5541 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.3476, allocations: 38.2 kB / 0.5541 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.3477, allocations: 34.09 kB / 0.5542 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3491, allocations: 0.8623 MB / 0.555 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3491, allocations: 5 kB / 0.555 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.3491, allocations: 17.48 kB / 0.555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.3493, allocations: 68.08 kB / 0.5551 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3506, allocations: 0.7923 MB / 0.5559 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.3548, allocations: 2.645 MB / 0.5585 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.3557, allocations: 497.6 kB / 0.5589 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.3563, allocations: 358.6 kB / 0.5593 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.3563, allocations: 4 kB / 0.5593 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.3563, allocations: 38.56 kB / 0.5593 GB, free: 3.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.577e-06/0.3563, allocations: 3.938 kB / 0.5593 GB, free: 3.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003305/0.3596, allocations: 1.822 MB / 0.5611 GB, free: 1.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3598, allocations: 138.8 kB / 0.5612 GB, free: 1.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.3602, allocations: 300.4 kB / 0.5615 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3603, allocations: 33.7 kB / 0.5616 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.3605, allocations: 261.1 kB / 0.5618 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.3607, allocations: 202.3 kB / 0.562 GB, free: 484 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.3609, allocations: 94.11 kB / 0.5621 GB, free: 384 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3612, allocations: 354.8 kB / 0.5624 GB, free: 20 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.3617, allocations: 341 kB / 0.5627 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.3623, allocations: 493.7 kB / 0.5632 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.3635, allocations: 0.976 MB / 0.5642 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3635, allocations: 8 kB / 0.5642 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001518/0.3651, allocations: 0.9777 MB / 0.5651 GB, free: 13.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.3652, allocations: 77.72 kB / 0.5652 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3652, allocations: 8 kB / 0.5652 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.3654, allocations: 40.83 kB / 0.5653 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.3657, allocations: 79.89 kB / 0.5653 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.3671, allocations: 1.452 MB / 0.5667 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.3675, allocations: 43.84 kB / 0.5668 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.3675, allocations: 24 kB / 0.5668 GB, free: 11.25 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.0004397/0.368, allocations: 295.4 kB / 0.5671 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3681, allocations: 47.75 kB / 0.5671 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.3698, allocations: 1.083 MB / 0.5682 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.3698, allocations: 15.94 kB / 0.5682 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3698, allocations: 0 / 0.5682 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3698, allocations: 3.984 kB / 0.5682 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.3725, allocations: 1.766 MB / 0.5699 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.3725, allocations: 4 kB / 0.5699 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3728, allocations: 55.89 kB / 0.57 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.3729, allocations: 36.84 kB / 0.57 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.3729, allocations: 15.98 kB / 0.57 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.3742, allocations: 1.448 MB / 0.5715 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3742, allocations: 0 / 0.5715 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.3759, allocations: 1.186 MB / 0.5726 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.3761, allocations: 91.67 kB / 0.5727 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.3762, allocations: 19.98 kB / 0.5727 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3764, allocations: 27.97 kB / 0.5728 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3766, allocations: 47.81 kB / 0.5728 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.3766, allocations: 20 kB / 0.5728 GB, free: 4.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.3768, allocations: 203.1 kB / 0.573 GB, free: 4.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 0.573 GB, free: 4.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00061/0.3775, allocations: 147.9 kB / 0.5732 GB, free: 4.5 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.002067/0.3795, allocations: 1.758 MB / 0.5749 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3812, allocations: 1.152 MB / 0.576 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3812, allocations: 4 kB / 0.576 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3822, allocations: 0.6974 MB / 0.5767 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.3828, allocations: 76.95 kB / 0.5768 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/0.3908, allocations: 5.905 MB / 0.5825 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.3914, allocations: 0.9015 MB / 0.5834 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.3917, allocations: 99.19 kB / 0.5835 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.392, allocations: 159.4 kB / 0.5836 GB, free: 9.426 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.392, allocations: 0 / 0.5836 GB, free: 9.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.4294, allocations: 10.88 MB / 0.5943 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.92, allocations: 14.92 kB / 0.5943 GB, free: 14.68 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.940455189964268]