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.001271/0.001271, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001383/0.001383, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8 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.2038/0.2038, allocations: 38.53 MB / 352.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.0033/0.0033, allocations: 59.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3576, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00714/0.3647, allocations: 5.079 MB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3673, allocations: 1.339 MB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.3676, allocations: 30 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.3681, allocations: 117.6 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000828/0.369, allocations: 334.5 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.3695, allocations: 158.2 kB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3705, allocations: 0.7165 MB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.3708, allocations: 112.8 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.3714, allocations: 322.8 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008267/0.3722, allocations: 462.9 kB / 0.5504 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.3723, allocations: 45.44 kB / 0.5505 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3724, allocations: 52.03 kB / 0.5505 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.3727, allocations: 244.9 kB / 0.5508 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.3731, allocations: 279.7 kB / 0.551 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008094/0.3739, allocations: 0.6045 MB / 0.5516 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3739, allocations: 0 / 0.5516 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3739, allocations: 1.062 kB / 0.5516 GB, free: 9.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3739, allocations: 0 / 0.5516 GB, free: 9.258 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.002174/0.3761, allocations: 0.8927 MB / 0.5525 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3761, allocations: 12.98 kB / 0.5525 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.3763, allocations: 71.34 kB / 0.5526 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.3764, allocations: 59 kB / 0.5526 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3778, allocations: 0.547 MB / 0.5532 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3778, allocations: 26.47 kB / 0.5532 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3779, allocations: 43.23 kB / 0.5532 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.3788, allocations: 0.5587 MB / 0.5538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3788, allocations: 1.094 kB / 0.5538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.3789, allocations: 15.44 kB / 0.5538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003083/0.3792, allocations: 83 kB / 0.5539 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.3798, allocations: 356.9 kB / 0.5542 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.3833, allocations: 2.023 MB / 0.5562 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.3842, allocations: 373.2 kB / 0.5565 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.3848, allocations: 289.5 kB / 0.5568 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.3848, allocations: 4 kB / 0.5568 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.3849, allocations: 42.56 kB / 0.5569 GB, free: 5.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.3849, allocations: 0 / 0.5569 GB, free: 5.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.005285/0.3902, allocations: 1.94 MB / 0.5588 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3902, allocations: 89.05 kB / 0.5588 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.3908, allocations: 377.6 kB / 0.5592 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.3908, allocations: 37.7 kB / 0.5592 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.391, allocations: 252.6 kB / 0.5595 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.3912, allocations: 146.8 kB / 0.5596 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3914, allocations: 98.14 kB / 0.5597 GB, free: 2.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.3916, allocations: 362.7 kB / 0.5601 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.392, allocations: 244.9 kB / 0.5603 GB, free: 1.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3925, allocations: 362 kB / 0.5606 GB, free: 1.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.3934, allocations: 0.6118 MB / 0.5612 GB, free: 392 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3934, allocations: 0 / 0.5612 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001824/0.3952, allocations: 1.009 MB / 0.5622 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3952, allocations: 8 kB / 0.5622 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3952, allocations: 4 kB / 0.5622 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3964, allocations: 409.6 kB / 0.5626 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.3967, allocations: 83.89 kB / 0.5627 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.4026, allocations: 4.932 MB / 0.5675 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.4031, allocations: 39.94 kB / 0.5676 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.4031, allocations: 16 kB / 0.5676 GB, free: 9.648 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.0003681/0.4035, allocations: 205.8 kB / 0.5678 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.4036, allocations: 43.72 kB / 0.5678 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.4051, allocations: 0.8309 MB / 0.5686 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4051, allocations: 4.125 kB / 0.5686 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4051, allocations: 11.94 kB / 0.5686 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4051, allocations: 7.984 kB / 0.5686 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.4076, allocations: 1.378 MB / 0.57 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.4076, allocations: 8.031 kB / 0.57 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4078, allocations: 39.91 kB / 0.57 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.409, allocations: 437.4 kB / 0.5705 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.409, allocations: 35.97 kB / 0.5705 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006242/0.4153, allocations: 6.301 MB / 0.5766 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4153, allocations: 4.062 kB / 0.5766 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.4172, allocations: 1.114 MB / 0.5777 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4173, allocations: 47.69 kB / 0.5778 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.4174, allocations: 27.98 kB / 0.5778 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.4177, allocations: 39.94 kB / 0.5778 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4178, allocations: 35.88 kB / 0.5779 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.4179, allocations: 15.98 kB / 0.5779 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.4182, allocations: 263.1 kB / 0.5781 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4182, allocations: 4 kB / 0.5781 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.4189, allocations: 160 kB / 0.5783 GB, free: 14.01 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.002235/0.4211, allocations: 1.677 MB / 0.5799 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4229, allocations: 0.8724 MB / 0.5808 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.4229, allocations: 0 / 0.5808 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.4244, allocations: 0.8527 MB / 0.5816 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.4252, allocations: 124.6 kB / 0.5817 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/0.4343, allocations: 6.276 MB / 0.5879 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.4349, allocations: 0.882 MB / 0.5887 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.4351, allocations: 68.34 kB / 0.5888 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.4353, allocations: 155.4 kB / 0.5889 GB, free: 2.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4353, allocations: 0 / 0.5889 GB, free: 2.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/0.5042, allocations: 12.96 MB / 0.6016 GB, free: 5.965 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.34, allocations: 7.938 kB / 0.6016 GB, free: 5.957 MB / 446.1 MB " [Timeout remaining time 648] (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: 15.651614140020683]