Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001799/0.001799, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001892/0.001892, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1919/0.1919, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.002034/0.002034, allocations: 71.89 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 62.46 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007153/0.326, allocations: 5.08 MB / 0.5477 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3284, allocations: 1.343 MB / 0.549 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.3287, allocations: 22.06 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.3291, allocations: 124.9 kB / 0.5492 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.3298, allocations: 332 kB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3303, allocations: 165.7 kB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008599/0.3312, allocations: 0.7087 MB / 0.5503 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3314, allocations: 112.7 kB / 0.5505 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006055/0.332, allocations: 327.4 kB / 0.5508 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/0.3328, allocations: 461.9 kB / 0.5512 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.3329, allocations: 49.56 kB / 0.5513 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.333, allocations: 48 kB / 0.5513 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.3333, allocations: 245.9 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.3337, allocations: 282.5 kB / 0.5518 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007594/0.3345, allocations: 0.6056 MB / 0.5524 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3345, allocations: 0 / 0.5524 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3345, allocations: 0 / 0.5524 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.3345, allocations: 0 / 0.5524 GB, free: 9.246 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002145/0.3366, allocations: 0.8909 MB / 0.5533 GB, free: 8.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3367, allocations: 13.95 kB / 0.5533 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.68e-05/0.3367, allocations: 7.75 kB / 0.5533 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.3368, allocations: 71.84 kB / 0.5534 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.3369, allocations: 58.22 kB / 0.5534 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.3383, allocations: 0.5499 MB / 0.5539 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.3383, allocations: 26.94 kB / 0.554 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3384, allocations: 39.94 kB / 0.554 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.3393, allocations: 0.5504 MB / 0.5545 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3393, allocations: 4.969 kB / 0.5546 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.3394, allocations: 11.53 kB / 0.5546 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003444/0.3397, allocations: 83.62 kB / 0.5546 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.3403, allocations: 365 kB / 0.555 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003381/0.3437, allocations: 2.018 MB / 0.557 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.3446, allocations: 375.7 kB / 0.5573 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.3452, allocations: 281.6 kB / 0.5576 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.3452, allocations: 8 kB / 0.5576 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.3453, allocations: 42.5 kB / 0.5576 GB, free: 5.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.235e-06/0.3453, allocations: 0 / 0.5576 GB, free: 5.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004679/0.35, allocations: 1.941 MB / 0.5595 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.35, allocations: 85.11 kB / 0.5596 GB, free: 2.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.3505, allocations: 377.6 kB / 0.56 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.3506, allocations: 33.7 kB / 0.56 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.3508, allocations: 252.6 kB / 0.5602 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3509, allocations: 150.8 kB / 0.5604 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.3511, allocations: 98.14 kB / 0.5605 GB, free: 2.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3513, allocations: 362.7 kB / 0.5608 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.3517, allocations: 248.9 kB / 0.5611 GB, free: 1.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.3522, allocations: 358 kB / 0.5614 GB, free: 1.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.3531, allocations: 0.6195 MB / 0.562 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3531, allocations: 0 / 0.562 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002036/0.3551, allocations: 0.9981 MB / 0.563 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3552, allocations: 18.95 kB / 0.563 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3552, allocations: 4 kB / 0.563 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.3562, allocations: 401.2 kB / 0.5634 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.3566, allocations: 87.89 kB / 0.5635 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.3628, allocations: 4.933 MB / 0.5683 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.3632, allocations: 43.94 kB / 0.5683 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.3633, allocations: 16 kB / 0.5684 GB, free: 9.652 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.3636, allocations: 201.8 kB / 0.5685 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.3637, allocations: 43.72 kB / 0.5686 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.3654, allocations: 0.8348 MB / 0.5694 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3654, allocations: 4 kB / 0.5694 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3654, allocations: 0 / 0.5694 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3654, allocations: 7.984 kB / 0.5694 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.3679, allocations: 1.39 MB / 0.5708 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.3679, allocations: 4 kB / 0.5708 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3681, allocations: 31.98 kB / 0.5708 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.3694, allocations: 449.3 kB / 0.5712 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/0.3695, allocations: 32.03 kB / 0.5713 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006851/0.3764, allocations: 6.305 MB / 0.5774 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.3764, allocations: 7.938 kB / 0.5774 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.3788, allocations: 1.114 MB / 0.5785 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3791, allocations: 39.7 kB / 0.5786 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3792, allocations: 27.98 kB / 0.5786 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3796, allocations: 39.94 kB / 0.5786 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3797, allocations: 43.8 kB / 0.5787 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.3797, allocations: 19.98 kB / 0.5787 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.3801, allocations: 259.2 kB / 0.5789 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3801, allocations: 0 / 0.5789 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009287/0.3811, allocations: 156 kB / 0.5791 GB, free: 14.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/0.3835, allocations: 1.68 MB / 0.5807 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.3856, allocations: 0.8801 MB / 0.5816 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3856, allocations: 0 / 0.5816 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.3873, allocations: 0.8488 MB / 0.5824 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.3883, allocations: 124.9 kB / 0.5825 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.4004, allocations: 6.278 MB / 0.5887 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008463/0.4013, allocations: 0.8781 MB / 0.5895 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.4016, allocations: 76.31 kB / 0.5896 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.4019, allocations: 159.3 kB / 0.5897 GB, free: 2.742 MB / 430.1 MB Notification: Performance of SimCode: time 1.984e-06/0.4019, allocations: 0 / 0.5897 GB, free: 2.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.4592, allocations: 12.97 MB / 0.6024 GB, free: 5.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13, allocations: 5.547 kB / 0.6024 GB, free: 5.949 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 16.30358220898779]