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.001391/0.001391, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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: 212.2 kB / 24.53 MB, free: 4.07 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1887/0.1887, allocations: 38.52 MB / 353.2 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.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.001978/0.001978, allocations: 63.89 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 62.47 MB / 0.5428 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005891/0.3754, allocations: 4.101 MB / 0.5468 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.3785, allocations: 1.884 MB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.3787, allocations: 10.12 kB / 0.5486 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3798, allocations: 384.5 kB / 0.549 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000998/0.3808, allocations: 404.4 kB / 0.5494 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3812, allocations: 136.5 kB / 0.5495 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007229/0.3819, allocations: 498 kB / 0.55 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.3823, allocations: 166.4 kB / 0.5501 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004789/0.3828, allocations: 227.6 kB / 0.5503 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.3832, allocations: 252.4 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.3833, allocations: 20.81 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3841, allocations: 459.9 kB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.3843, allocations: 159.3 kB / 0.5512 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3845, allocations: 146.6 kB / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.3852, allocations: 0.5 MB / 0.5518 GB, free: 9.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3852, allocations: 0 / 0.5518 GB, free: 9.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3852, allocations: 1.5 kB / 0.5518 GB, free: 9.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3853, allocations: 0 / 0.5518 GB, free: 9.602 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.000891/0.3861, allocations: 0.5306 MB / 0.5523 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3862, allocations: 17.3 kB / 0.5524 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.3862, allocations: 11.31 kB / 0.5524 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.671e-05/0.3863, allocations: 66.56 kB / 0.5524 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.3875, allocations: 141.4 kB / 0.5526 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.3879, allocations: 237.4 kB / 0.5528 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.388, allocations: 20 kB / 0.5528 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.388, allocations: 28.86 kB / 0.5528 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.3888, allocations: 441.9 kB / 0.5533 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.3888, allocations: 9.094 kB / 0.5533 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.3889, allocations: 11.25 kB / 0.5533 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.3889, allocations: 22.67 kB / 0.5533 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.3896, allocations: 426 kB / 0.5537 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.392, allocations: 1.643 MB / 0.5553 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3924, allocations: 193.8 kB / 0.5555 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.3925, allocations: 118.6 kB / 0.5556 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.3926, allocations: 10.7 kB / 0.5556 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3926, allocations: 33.56 kB / 0.5557 GB, free: 6.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.3926, allocations: 0 / 0.5557 GB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001925/0.3945, allocations: 0.7197 MB / 0.5564 GB, free: 6.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.3946, allocations: 84.89 kB / 0.5564 GB, free: 6.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3948, allocations: 218.4 kB / 0.5566 GB, free: 5.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3949, allocations: 29.7 kB / 0.5567 GB, free: 5.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3951, allocations: 185 kB / 0.5569 GB, free: 5.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.3952, allocations: 87.27 kB / 0.5569 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.3953, allocations: 53.98 kB / 0.557 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3955, allocations: 334.8 kB / 0.5573 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3956, allocations: 108.5 kB / 0.5574 GB, free: 5.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.3959, allocations: 205 kB / 0.5576 GB, free: 4.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3964, allocations: 342.6 kB / 0.5579 GB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3964, allocations: 0 / 0.5579 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000755/0.3971, allocations: 433.7 kB / 0.5583 GB, free: 4.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3971, allocations: 11.94 kB / 0.5584 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.3971, allocations: 4 kB / 0.5584 GB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.3975, allocations: 89.19 kB / 0.5584 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.3978, allocations: 55.91 kB / 0.5585 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.4, allocations: 1.898 MB / 0.5604 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.4002, allocations: 15.98 kB / 0.5604 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.4002, allocations: 12 kB / 0.5604 GB, free: 1.934 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.0002304/0.4005, allocations: 181.7 kB / 0.5606 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.4005, allocations: 19.86 kB / 0.5606 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.4013, allocations: 387.9 kB / 0.5609 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4013, allocations: 4 kB / 0.5609 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.4013, allocations: 0 / 0.5609 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4013, allocations: 7.984 kB / 0.561 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.4029, allocations: 0.8741 MB / 0.5618 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4029, allocations: 4 kB / 0.5618 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4031, allocations: 39.92 kB / 0.5619 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.4033, allocations: 72.84 kB / 0.5619 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4033, allocations: 4 kB / 0.5619 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.4054, allocations: 1.808 MB / 0.5637 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.4054, allocations: 3.984 kB / 0.5637 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.4062, allocations: 471.4 kB / 0.5641 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.4063, allocations: 23.86 kB / 0.5642 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.4063, allocations: 0 / 0.5642 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4064, allocations: 11.98 kB / 0.5642 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.4065, allocations: 31.7 kB / 0.5642 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.4065, allocations: 8 kB / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.4067, allocations: 147.2 kB / 0.5644 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4067, allocations: 0 / 0.5644 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.4073, allocations: 84 kB / 0.5644 GB, free: 13.54 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.001091/0.4084, allocations: 0.9927 MB / 0.5654 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.4093, allocations: 406.8 kB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4093, allocations: 4.812 kB / 0.5658 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.4097, allocations: 272.7 kB / 0.5661 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.4101, allocations: 42.73 kB / 0.5661 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.4147, allocations: 3.015 MB / 0.569 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.4152, allocations: 0.8062 MB / 0.5698 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.4153, allocations: 50.03 kB / 0.5699 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4155, allocations: 87.41 kB / 0.57 GB, free: 7.609 MB / 414.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4155, allocations: 0 / 0.57 GB, free: 7.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.4517, allocations: 6.081 MB / 0.5759 GB, free: 1.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.29, allocations: 16.16 kB / 0.5759 GB, free: 1.656 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.414497115998529]