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.001763/0.001763, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002162/0.002162, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.191/0.191, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002451/0.002451, allocations: 71.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3504, allocations: 62.47 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005882/0.3563, allocations: 3.888 MB / 0.5457 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003283/0.3596, allocations: 1.723 MB / 0.5474 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.3598, allocations: 9.906 kB / 0.5474 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.361, allocations: 366.2 kB / 0.5478 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3621, allocations: 409.3 kB / 0.5482 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.3625, allocations: 140.6 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.3631, allocations: 493.2 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.3635, allocations: 170.4 kB / 0.5489 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.3639, allocations: 228.4 kB / 0.5492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.3643, allocations: 235.1 kB / 0.5494 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.3643, allocations: 21.34 kB / 0.5494 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.3651, allocations: 385.2 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3653, allocations: 155.9 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3655, allocations: 130.6 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008222/0.3663, allocations: 0.4998 MB / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3663, allocations: 0 / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3663, allocations: 1.281 kB / 0.5505 GB, free: 9.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3663, allocations: 0 / 0.5505 GB, free: 9.926 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.0009011/0.3672, allocations: 0.5205 MB / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3673, allocations: 13.3 kB / 0.551 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.3674, allocations: 65.53 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.3686, allocations: 142.3 kB / 0.5512 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3691, allocations: 237.8 kB / 0.5515 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.3692, allocations: 18.62 kB / 0.5515 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.3692, allocations: 26 kB / 0.5515 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.37, allocations: 443.4 kB / 0.5519 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3701, allocations: 9.203 kB / 0.5519 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3701, allocations: 15.22 kB / 0.552 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.3702, allocations: 26.33 kB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.3709, allocations: 423.1 kB / 0.5524 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.3733, allocations: 1.471 MB / 0.5538 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.3737, allocations: 189.5 kB / 0.554 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3739, allocations: 126.6 kB / 0.5541 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3739, allocations: 7.234 kB / 0.5541 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.374, allocations: 33.19 kB / 0.5542 GB, free: 7.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 4.138e-06/0.374, allocations: 3.984 kB / 0.5542 GB, free: 7.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001996/0.376, allocations: 0.7155 MB / 0.5549 GB, free: 6.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3761, allocations: 84.66 kB / 0.5549 GB, free: 6.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.3763, allocations: 226.2 kB / 0.5552 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3763, allocations: 29.7 kB / 0.5552 GB, free: 6.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3765, allocations: 192.5 kB / 0.5554 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.3765, allocations: 83.25 kB / 0.5555 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.3766, allocations: 61.94 kB / 0.5555 GB, free: 6.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3768, allocations: 330.8 kB / 0.5558 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.377, allocations: 108.5 kB / 0.5559 GB, free: 5.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3772, allocations: 209 kB / 0.5561 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.3777, allocations: 338.2 kB / 0.5565 GB, free: 5.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3777, allocations: 0 / 0.5565 GB, free: 5.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007708/0.3785, allocations: 432.8 kB / 0.5569 GB, free: 4.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3785, allocations: 8 kB / 0.5569 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3785, allocations: 4 kB / 0.5569 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.3789, allocations: 89.19 kB / 0.557 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3792, allocations: 59.97 kB / 0.557 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.3815, allocations: 1.879 MB / 0.5589 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3817, allocations: 15.98 kB / 0.5589 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3817, allocations: 16 kB / 0.5589 GB, free: 2.406 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.0002216/0.3819, allocations: 185.7 kB / 0.5591 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.382, allocations: 15.91 kB / 0.5591 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.3827, allocations: 383.9 kB / 0.5594 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3827, allocations: 4 kB / 0.5594 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3828, allocations: 0 / 0.5594 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3828, allocations: 3.984 kB / 0.5595 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.3843, allocations: 0.8073 MB / 0.5602 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.3843, allocations: 7.938 kB / 0.5602 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3844, allocations: 39.91 kB / 0.5603 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.3847, allocations: 73.05 kB / 0.5604 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3847, allocations: 8 kB / 0.5604 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.3867, allocations: 1.797 MB / 0.5621 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3867, allocations: 0 / 0.5621 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.3874, allocations: 455.2 kB / 0.5626 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3875, allocations: 27.84 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3875, allocations: 3.938 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3877, allocations: 12 kB / 0.5626 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.3877, allocations: 31.69 kB / 0.5626 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.3878, allocations: 8 kB / 0.5626 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3879, allocations: 155.3 kB / 0.5628 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 0.5628 GB, free: 14.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.3884, allocations: 80 kB / 0.5629 GB, free: 14.11 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.001072/0.3895, allocations: 0.9887 MB / 0.5638 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008296/0.3903, allocations: 414.7 kB / 0.5642 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3903, allocations: 4 kB / 0.5642 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.3908, allocations: 271 kB / 0.5645 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3912, allocations: 44.52 kB / 0.5645 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.3955, allocations: 3.023 MB / 0.5675 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3958, allocations: 193.6 kB / 0.5677 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.3959, allocations: 57.97 kB / 0.5677 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3961, allocations: 83.41 kB / 0.5678 GB, free: 8.801 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3961, allocations: 8 kB / 0.5678 GB, free: 8.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.4343, allocations: 6.384 MB / 0.574 GB, free: 2.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.02, allocations: 7.812 kB / 0.574 GB, free: 2.543 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: 15.035981426946819]