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.001419/0.001419, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001738/0.001738, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1832/0.1832, allocations: 38.54 MB / 352.5 MB, free: 12.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.002063/0.002063, allocations: 75.88 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.322, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005427/0.3274, allocations: 4.097 MB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.3302, allocations: 1.884 MB / 0.5478 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.3304, allocations: 9.906 kB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3314, allocations: 381.7 kB / 0.5482 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008478/0.3323, allocations: 403.7 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.3326, allocations: 137.9 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.3332, allocations: 0.489 MB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3336, allocations: 171.3 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.334, allocations: 227.4 kB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.3344, allocations: 252.1 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.3344, allocations: 20.59 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.3352, allocations: 455.8 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3354, allocations: 154.7 kB / 0.5504 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3356, allocations: 158.6 kB / 0.5506 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.3363, allocations: 0.5017 MB / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3363, allocations: 0 / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3363, allocations: 0 / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3364, allocations: 0 / 0.5511 GB, free: 9.594 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.0009761/0.3373, allocations: 0.5204 MB / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3374, allocations: 14.14 kB / 0.5516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/0.3375, allocations: 65.41 kB / 0.5517 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.3387, allocations: 137 kB / 0.5518 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.3391, allocations: 238.1 kB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3391, allocations: 19.22 kB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.3392, allocations: 25.91 kB / 0.5521 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.3399, allocations: 454.5 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3399, allocations: 1.25 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.3399, allocations: 10.12 kB / 0.5525 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.34, allocations: 22.36 kB / 0.5525 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.3406, allocations: 430 kB / 0.5529 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.343, allocations: 1.643 MB / 0.5545 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3434, allocations: 198.6 kB / 0.5547 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3435, allocations: 118.8 kB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.3436, allocations: 6.156 kB / 0.5548 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3436, allocations: 33.66 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3436, allocations: 0 / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001824/0.3454, allocations: 0.7201 MB / 0.5556 GB, free: 6.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.3455, allocations: 80.45 kB / 0.5557 GB, free: 6.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3457, allocations: 217.8 kB / 0.5559 GB, free: 5.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3457, allocations: 30.77 kB / 0.5559 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3459, allocations: 188.6 kB / 0.5561 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.346, allocations: 83.28 kB / 0.5562 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3461, allocations: 62.09 kB / 0.5562 GB, free: 5.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3463, allocations: 330.8 kB / 0.5565 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.3465, allocations: 104.4 kB / 0.5566 GB, free: 5.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3468, allocations: 216.9 kB / 0.5568 GB, free: 4.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3472, allocations: 338.6 kB / 0.5572 GB, free: 4.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3472, allocations: 3.938 kB / 0.5572 GB, free: 4.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007608/0.348, allocations: 429.8 kB / 0.5576 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.348, allocations: 15.06 kB / 0.5576 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.348, allocations: 4.406 kB / 0.5576 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.3484, allocations: 88.73 kB / 0.5577 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3486, allocations: 59.89 kB / 0.5577 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.3508, allocations: 1.894 MB / 0.5596 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.351, allocations: 15.98 kB / 0.5596 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.351, allocations: 20.05 kB / 0.5596 GB, free: 1.918 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.0002116/0.3512, allocations: 173.7 kB / 0.5598 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.3513, allocations: 23.84 kB / 0.5598 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.352, allocations: 380 kB / 0.5602 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.352, allocations: 4 kB / 0.5602 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.352, allocations: 7.938 kB / 0.5602 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.352, allocations: 4 kB / 0.5602 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3535, allocations: 0.8742 MB / 0.561 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.3535, allocations: 11.92 kB / 0.561 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.3537, allocations: 35.98 kB / 0.5611 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.3539, allocations: 68.92 kB / 0.5611 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.354, allocations: 11.98 kB / 0.5612 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.356, allocations: 1.801 MB / 0.5629 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.356, allocations: 0 / 0.5629 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.3567, allocations: 467.4 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.3567, allocations: 27.84 kB / 0.5634 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3568, allocations: 0 / 0.5634 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3569, allocations: 8 kB / 0.5634 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.357, allocations: 35.78 kB / 0.5634 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.357, allocations: 8 kB / 0.5634 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.3571, allocations: 147.2 kB / 0.5636 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 4 kB / 0.5636 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.3576, allocations: 87.94 kB / 0.5637 GB, free: 13.52 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.001015/0.3587, allocations: 0.981 MB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.3594, allocations: 415 kB / 0.565 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3594, allocations: 4 kB / 0.565 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.3599, allocations: 272.6 kB / 0.5653 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3603, allocations: 38.56 kB / 0.5653 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.3643, allocations: 3.023 MB / 0.5683 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.3648, allocations: 0.8023 MB / 0.5691 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3649, allocations: 58.03 kB / 0.5691 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3651, allocations: 83.41 kB / 0.5692 GB, free: 7.598 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3651, allocations: 0 / 0.5692 GB, free: 7.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.4002, allocations: 6.05 MB / 0.5751 GB, free: 1.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 18.19 kB / 0.5751 GB, free: 1.664 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.604105745907873]