Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001281/0.001281, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001458/0.001458, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.1897/0.1897, allocations: 38.54 MB / 353.2 MB, free: 12.38 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.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.002091/0.002091, allocations: 63.91 kB / 493.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 62.47 MB / 0.5427 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.0056/0.3879, allocations: 3.888 MB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.3908, allocations: 1.709 MB / 0.5482 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.391, allocations: 18.31 kB / 0.5482 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3921, allocations: 354.5 kB / 0.5485 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.3931, allocations: 407.7 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.3935, allocations: 144.8 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.3942, allocations: 493.8 kB / 0.5495 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.3945, allocations: 170.3 kB / 0.5497 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.3949, allocations: 227.4 kB / 0.5499 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.3953, allocations: 244.9 kB / 0.5501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.3953, allocations: 24.47 kB / 0.5502 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.396, allocations: 384.9 kB / 0.5505 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3962, allocations: 155.5 kB / 0.5507 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3964, allocations: 130.4 kB / 0.5508 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007339/0.3972, allocations: 0.5043 MB / 0.5513 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3972, allocations: 0.9375 kB / 0.5513 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3972, allocations: 3.938 kB / 0.5513 GB, free: 9.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3972, allocations: 0 / 0.5513 GB, free: 9.895 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000873/0.3981, allocations: 0.5212 MB / 0.5518 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3981, allocations: 13.64 kB / 0.5518 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.211e-05/0.3981, allocations: 8.438 kB / 0.5518 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.3982, allocations: 65.03 kB / 0.5519 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3995, allocations: 130.5 kB / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.3999, allocations: 246.4 kB / 0.5522 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3999, allocations: 19.16 kB / 0.5523 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.4, allocations: 29.17 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.4008, allocations: 439.3 kB / 0.5527 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4008, allocations: 5.016 kB / 0.5527 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.4008, allocations: 19.16 kB / 0.5527 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.4009, allocations: 22.78 kB / 0.5528 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.4016, allocations: 430 kB / 0.5532 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.4043, allocations: 1.475 MB / 0.5546 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.4047, allocations: 191.4 kB / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.4049, allocations: 122.8 kB / 0.5549 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.405, allocations: 10.44 kB / 0.5549 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.405, allocations: 37.72 kB / 0.555 GB, free: 7.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.405, allocations: 0 / 0.555 GB, free: 7.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002016/0.407, allocations: 0.7164 MB / 0.5557 GB, free: 6.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.4071, allocations: 79.67 kB / 0.5557 GB, free: 6.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.4073, allocations: 214.6 kB / 0.5559 GB, free: 6.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.4074, allocations: 33.7 kB / 0.556 GB, free: 6.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4075, allocations: 188.3 kB / 0.5561 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.4076, allocations: 83.28 kB / 0.5562 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4077, allocations: 70.03 kB / 0.5563 GB, free: 6.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4078, allocations: 330.8 kB / 0.5566 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.408, allocations: 104.5 kB / 0.5567 GB, free: 5.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.4083, allocations: 216.7 kB / 0.5569 GB, free: 5.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.4087, allocations: 342.8 kB / 0.5572 GB, free: 4.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4087, allocations: 0 / 0.5572 GB, free: 4.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008157/0.4096, allocations: 429.8 kB / 0.5576 GB, free: 4.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4096, allocations: 8 kB / 0.5577 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4096, allocations: 0 / 0.5577 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.41, allocations: 84.8 kB / 0.5577 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.4103, allocations: 59.89 kB / 0.5578 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.4127, allocations: 1.891 MB / 0.5596 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.4129, allocations: 15.98 kB / 0.5597 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.4129, allocations: 11.94 kB / 0.5597 GB, free: 2.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.4131, allocations: 177.8 kB / 0.5598 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.4132, allocations: 23.86 kB / 0.5599 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.414, allocations: 384 kB / 0.5602 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.414, allocations: 4 kB / 0.5602 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4141, allocations: 0 / 0.5602 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4141, allocations: 0 / 0.5602 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.4156, allocations: 0.815 MB / 0.561 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4157, allocations: 4 kB / 0.561 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4158, allocations: 35.92 kB / 0.5611 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.4161, allocations: 68.78 kB / 0.5611 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4161, allocations: 12.06 kB / 0.5611 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.4183, allocations: 1.793 MB / 0.5629 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4183, allocations: 0 / 0.5629 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.4191, allocations: 475.3 kB / 0.5633 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4191, allocations: 19.86 kB / 0.5634 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.4192, allocations: 4 kB / 0.5634 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4193, allocations: 15.98 kB / 0.5634 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.4194, allocations: 23.77 kB / 0.5634 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.4194, allocations: 8 kB / 0.5634 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.4196, allocations: 151.2 kB / 0.5636 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4196, allocations: 4 kB / 0.5636 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005673/0.4201, allocations: 84 kB / 0.5636 GB, free: 14.08 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,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.00107/0.4212, allocations: 0.9888 MB / 0.5646 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008091/0.422, allocations: 414.3 kB / 0.565 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.422, allocations: 4 kB / 0.565 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.4225, allocations: 270.5 kB / 0.5653 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4229, allocations: 42.88 kB / 0.5653 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.4273, allocations: 3.015 MB / 0.5683 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4276, allocations: 197.6 kB / 0.5684 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.4278, allocations: 57.84 kB / 0.5685 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.4279, allocations: 83.41 kB / 0.5686 GB, free: 8.77 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4279, allocations: 0 / 0.5686 GB, free: 8.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.4597, allocations: 6.159 MB / 0.5746 GB, free: 2.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.48, allocations: 8.188 kB / 0.5746 GB, free: 2.754 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.583629747969098]