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.001759/0.001759, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002232/0.002232, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.19/0.19, allocations: 38.54 MB / 353.2 MB, free: 12.35 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.002779/0.002779, allocations: 67.89 kB / 493.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3501, allocations: 62.45 MB / 0.5427 GB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.008138/0.3583, allocations: 4.76 MB / 0.5473 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.3611, allocations: 1.248 MB / 0.5486 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.3614, allocations: 21.88 kB / 0.5486 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.3619, allocations: 117 kB / 0.5487 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008035/0.3627, allocations: 331.2 kB / 0.549 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.3632, allocations: 154.7 kB / 0.5492 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008878/0.364, allocations: 0.7163 MB / 0.5499 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.3643, allocations: 107.4 kB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.3648, allocations: 328.4 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/0.3656, allocations: 470.7 kB / 0.5507 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.675e-05/0.3657, allocations: 45.41 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3658, allocations: 46.78 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.3661, allocations: 242.4 kB / 0.551 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3665, allocations: 242.4 kB / 0.5513 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.3672, allocations: 0.6101 MB / 0.5519 GB, free: 9.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3672, allocations: 0 / 0.5519 GB, free: 9.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3672, allocations: 1.094 kB / 0.5519 GB, free: 9.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3672, allocations: 0 / 0.5519 GB, free: 9.59 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.002051/0.3693, allocations: 0.8868 MB / 0.5527 GB, free: 8.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.3694, allocations: 13.92 kB / 0.5528 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.747e-05/0.3694, allocations: 8.594 kB / 0.5528 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.3695, allocations: 71.78 kB / 0.5528 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3696, allocations: 62.56 kB / 0.5529 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3709, allocations: 0.5469 MB / 0.5534 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.371, allocations: 25.69 kB / 0.5534 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3711, allocations: 39.66 kB / 0.5535 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.372, allocations: 0.5499 MB / 0.554 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3721, allocations: 5.094 kB / 0.554 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3721, allocations: 11.31 kB / 0.554 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004087/0.3725, allocations: 86.33 kB / 0.5541 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.3733, allocations: 358.6 kB / 0.5545 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.377, allocations: 1.936 MB / 0.5564 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.378, allocations: 381.1 kB / 0.5567 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.3786, allocations: 289.6 kB / 0.557 GB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.3786, allocations: 4 kB / 0.557 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3787, allocations: 38.56 kB / 0.557 GB, free: 5.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.766e-06/0.3787, allocations: 0 / 0.557 GB, free: 5.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004942/0.3836, allocations: 1.937 MB / 0.5589 GB, free: 3.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.3837, allocations: 89.03 kB / 0.559 GB, free: 3.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.3842, allocations: 381.6 kB / 0.5594 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.3842, allocations: 33.7 kB / 0.5594 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.3844, allocations: 260.7 kB / 0.5597 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3846, allocations: 142.8 kB / 0.5598 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.3847, allocations: 98.19 kB / 0.5599 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.385, allocations: 362.7 kB / 0.5602 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.3854, allocations: 240.9 kB / 0.5605 GB, free: 1.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.3859, allocations: 362.1 kB / 0.5608 GB, free: 1.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.3869, allocations: 0.6118 MB / 0.5614 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3869, allocations: 0 / 0.5614 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001909/0.3888, allocations: 1.013 MB / 0.5624 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3888, allocations: 8.438 kB / 0.5624 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3888, allocations: 8 kB / 0.5624 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3899, allocations: 401.3 kB / 0.5628 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.3903, allocations: 83.83 kB / 0.5629 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.3965, allocations: 4.897 MB / 0.5677 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.397, allocations: 47.94 kB / 0.5677 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.397, allocations: 20 kB / 0.5677 GB, free: 10.03 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.0003779/0.3974, allocations: 199 kB / 0.5679 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3975, allocations: 43.72 kB / 0.5679 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3991, allocations: 0.8388 MB / 0.5688 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3991, allocations: 4 kB / 0.5688 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3991, allocations: 0 / 0.5688 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.3991, allocations: 0 / 0.5688 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.4015, allocations: 1.347 MB / 0.5701 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4015, allocations: 0 / 0.5701 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.4017, allocations: 39.92 kB / 0.5701 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.403, allocations: 449.3 kB / 0.5706 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.403, allocations: 35.97 kB / 0.5706 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006155/0.4092, allocations: 6.281 MB / 0.5767 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4092, allocations: 0 / 0.5767 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.4112, allocations: 1.118 MB / 0.5778 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.4113, allocations: 43.7 kB / 0.5779 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.4114, allocations: 27.98 kB / 0.5779 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.4117, allocations: 39.88 kB / 0.5779 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4119, allocations: 47.8 kB / 0.578 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.4119, allocations: 15.98 kB / 0.578 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003341/0.4122, allocations: 255.2 kB / 0.5782 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4122, allocations: 0 / 0.5782 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000772/0.413, allocations: 160 kB / 0.5784 GB, free: 14.46 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.002277/0.4153, allocations: 1.677 MB / 0.58 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4171, allocations: 0.8726 MB / 0.5809 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4171, allocations: 0 / 0.5809 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.4187, allocations: 0.8526 MB / 0.5817 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.4195, allocations: 127.8 kB / 0.5818 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0097/0.4292, allocations: 6.272 MB / 0.5879 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.4295, allocations: 278.3 kB / 0.5882 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.4299, allocations: 72.33 kB / 0.5883 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.4301, allocations: 151.4 kB / 0.5884 GB, free: 3.812 MB / 430.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4301, allocations: 0 / 0.5884 GB, free: 3.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.4789, allocations: 13.4 MB / 0.6015 GB, free: 6.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.02, allocations: 10.91 kB / 0.6015 GB, free: 6.664 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.40878213790711]