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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002401/0.002401, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1999/0.1999, allocations: 38.55 MB / 352.5 MB, free: 12.33 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="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: 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.002306/0.002306, allocations: 67.89 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3421, allocations: 62.46 MB / 0.5419 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006462/0.3486, allocations: 4.423 MB / 0.5463 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.3523, allocations: 1.351 MB / 0.5476 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.3528, allocations: 21.53 kB / 0.5476 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3539, allocations: 299.1 kB / 0.5479 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3549, allocations: 276.2 kB / 0.5481 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3561, allocations: 254.1 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3574, allocations: 0.6626 MB / 0.549 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.3579, allocations: 213.3 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.3587, allocations: 314.7 kB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.3595, allocations: 432.6 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.3596, allocations: 45.31 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.3602, allocations: 221 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.3605, allocations: 245.8 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.361, allocations: 249.3 kB / 0.5507 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3622, allocations: 0.7621 MB / 0.5514 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3623, allocations: 1.531 kB / 0.5514 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3623, allocations: 0 / 0.5514 GB, free: 9.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.3623, allocations: 0 / 0.5514 GB, free: 9.363 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.00213/0.3644, allocations: 0.8237 MB / 0.5522 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3645, allocations: 13.11 kB / 0.5522 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.3646, allocations: 100.5 kB / 0.5523 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.3655, allocations: 127 kB / 0.5525 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.3663, allocations: 377.5 kB / 0.5528 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3664, allocations: 34.39 kB / 0.5529 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.3665, allocations: 38.28 kB / 0.5529 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.3679, allocations: 0.9351 MB / 0.5538 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3679, allocations: 1.062 kB / 0.5538 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.368, allocations: 21.67 kB / 0.5538 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3682, allocations: 58.89 kB / 0.5539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3696, allocations: 0.8719 MB / 0.5547 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.3739, allocations: 2.536 MB / 0.5572 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/0.3749, allocations: 0.5579 MB / 0.5578 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.3755, allocations: 440.2 kB / 0.5582 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.3755, allocations: 7.938 kB / 0.5582 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3755, allocations: 34.56 kB / 0.5582 GB, free: 3.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.444e-06/0.3755, allocations: 0 / 0.5582 GB, free: 3.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003492/0.379, allocations: 2.009 MB / 0.5602 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3791, allocations: 142.7 kB / 0.5603 GB, free: 1.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.3795, allocations: 304.3 kB / 0.5606 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.3796, allocations: 41.62 kB / 0.5606 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.3798, allocations: 260.9 kB / 0.5609 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.3799, allocations: 194.3 kB / 0.5611 GB, free: 320 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.3801, allocations: 102.1 kB / 0.5612 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3803, allocations: 354.8 kB / 0.5615 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.3809, allocations: 418.7 kB / 0.5619 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.3815, allocations: 0.5503 MB / 0.5624 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3829, allocations: 1.015 MB / 0.5634 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3829, allocations: 0 / 0.5634 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001811/0.3847, allocations: 1.08 MB / 0.5645 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3848, allocations: 77.59 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.3848, allocations: 4 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.3851, allocations: 44.83 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.3855, allocations: 88.39 kB / 0.5647 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.3869, allocations: 1.44 MB / 0.5661 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.3873, allocations: 31.97 kB / 0.5661 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.3874, allocations: 27.94 kB / 0.5662 GB, free: 10.8 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.0004314/0.3878, allocations: 303.3 kB / 0.5665 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.388, allocations: 43.72 kB / 0.5665 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3897, allocations: 1.147 MB / 0.5676 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.3897, allocations: 11.98 kB / 0.5676 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3897, allocations: 4 kB / 0.5676 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3897, allocations: 0 / 0.5676 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.3926, allocations: 1.761 MB / 0.5693 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3926, allocations: 7.938 kB / 0.5694 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.3929, allocations: 59.89 kB / 0.5694 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.393, allocations: 45.02 kB / 0.5695 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.3931, allocations: 8 kB / 0.5695 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.3944, allocations: 1.444 MB / 0.5709 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3944, allocations: 0 / 0.5709 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3961, allocations: 1.238 MB / 0.5721 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.3964, allocations: 95.66 kB / 0.5722 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3965, allocations: 16 kB / 0.5722 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3968, allocations: 36 kB / 0.5722 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3969, allocations: 47.81 kB / 0.5723 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.397, allocations: 20 kB / 0.5723 GB, free: 4.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3972, allocations: 203.1 kB / 0.5725 GB, free: 4.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3972, allocations: 0 / 0.5725 GB, free: 4.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006078/0.3978, allocations: 140 kB / 0.5726 GB, free: 3.918 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.002186/0.4, allocations: 1.832 MB / 0.5744 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4019, allocations: 1.268 MB / 0.5756 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4019, allocations: 0 / 0.5756 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.4029, allocations: 0.7471 MB / 0.5764 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.4035, allocations: 78.8 kB / 0.5764 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.4127, allocations: 6.335 MB / 0.5826 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.4133, allocations: 298.5 kB / 0.5829 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.4138, allocations: 103.2 kB / 0.583 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.4142, allocations: 147.4 kB / 0.5832 GB, free: 8.738 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4142, allocations: 4 kB / 0.5832 GB, free: 8.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/0.4637, allocations: 11.14 MB / 0.594 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.38, allocations: 6.953 kB / 0.594 GB, free: 13.75 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.446531506255269]