Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001945/0.001945, 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.002416/0.002416, allocations: 213.4 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1824/0.1824, allocations: 38.53 MB / 352.5 MB, free: 12.56 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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.002207/0.002207, allocations: 59.91 kB / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3224, allocations: 62.48 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004981/0.3274, allocations: 3.574 MB / 0.5455 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.3296, allocations: 1.503 MB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3297, allocations: 13.44 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.3306, allocations: 263.4 kB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.3312, allocations: 281.6 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3314, allocations: 106.8 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3318, allocations: 337.3 kB / 0.5479 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.3321, allocations: 118.5 kB / 0.548 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3324, allocations: 166.8 kB / 0.5482 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.3327, allocations: 161.1 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3327, allocations: 14.28 kB / 0.5484 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.3332, allocations: 322 kB / 0.5487 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3333, allocations: 97.34 kB / 0.5488 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.3334, allocations: 109.8 kB / 0.5489 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3339, allocations: 340.5 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3339, allocations: 0 / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3339, allocations: 4 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3339, allocations: 0 / 0.5492 GB, free: 10.98 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007035/0.3346, allocations: 454.7 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3346, allocations: 13.48 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.3347, allocations: 50.17 kB / 0.5497 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.3355, allocations: 91.16 kB / 0.5498 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.3359, allocations: 214.9 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3359, allocations: 11.59 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3359, allocations: 23.23 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.3365, allocations: 316 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3365, allocations: 9.844 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3365, allocations: 9.719 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.3365, allocations: 17.11 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.337, allocations: 291.7 kB / 0.5506 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3388, allocations: 1.25 MB / 0.5518 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.3394, allocations: 203 kB / 0.552 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3395, allocations: 56.42 kB / 0.5521 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3395, allocations: 1.938 kB / 0.5521 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3396, allocations: 36.81 kB / 0.5521 GB, free: 8.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3396, allocations: 0 / 0.5521 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001032/0.3406, allocations: 366.9 kB / 0.5525 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.3407, allocations: 86.3 kB / 0.5526 GB, free: 8.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3409, allocations: 191.5 kB / 0.5527 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3409, allocations: 31.17 kB / 0.5528 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.341, allocations: 167.6 kB / 0.5529 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3411, allocations: 50.8 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.3412, allocations: 45 kB / 0.553 GB, free: 7.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3413, allocations: 336.2 kB / 0.5533 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.3414, allocations: 52.53 kB / 0.5534 GB, free: 7.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3416, allocations: 150.5 kB / 0.5535 GB, free: 7.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3419, allocations: 226 kB / 0.5538 GB, free: 7.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3419, allocations: 5.156 kB / 0.5538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004465/0.3423, allocations: 253.6 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3424, allocations: 6.344 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3424, allocations: 4.719 kB / 0.554 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.3426, allocations: 40.55 kB / 0.554 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3428, allocations: 49.47 kB / 0.5541 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.3441, allocations: 1.332 MB / 0.5554 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3442, allocations: 11.52 kB / 0.5554 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3443, allocations: 9.531 kB / 0.5554 GB, free: 5.637 MB / 398.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 (24): * Single equations (assignments): 23 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.3444, allocations: 169.6 kB / 0.5556 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3445, allocations: 19.88 kB / 0.5556 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.3448, allocations: 184.4 kB / 0.5558 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3448, allocations: 2.156 kB / 0.5558 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3448, allocations: 1.906 kB / 0.5558 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3448, allocations: 3.984 kB / 0.5558 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.3457, allocations: 0.537 MB / 0.5563 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3457, allocations: 2.688 kB / 0.5563 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.3458, allocations: 20 kB / 0.5563 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.3459, allocations: 35.52 kB / 0.5564 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3459, allocations: 6.312 kB / 0.5564 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.347, allocations: 1.324 MB / 0.5577 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.347, allocations: 1.188 kB / 0.5577 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3474, allocations: 302.9 kB / 0.5579 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3475, allocations: 17.12 kB / 0.558 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3475, allocations: 2.375 kB / 0.558 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3476, allocations: 10.42 kB / 0.558 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3476, allocations: 13.36 kB / 0.558 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3477, allocations: 8.281 kB / 0.558 GB, free: 3.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3478, allocations: 140.8 kB / 0.5581 GB, free: 3.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 0.5581 GB, free: 3.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.3482, allocations: 52.69 kB / 0.5582 GB, free: 3.129 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(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.0007068/0.3489, allocations: 0.8445 MB / 0.559 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.3494, allocations: 260.5 kB / 0.5593 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3494, allocations: 0 / 0.5593 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.3496, allocations: 179.6 kB / 0.5594 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.35, allocations: 28.05 kB / 0.5595 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.3529, allocations: 2.378 MB / 0.5618 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.3534, allocations: 0.7554 MB / 0.5625 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3535, allocations: 41.59 kB / 0.5626 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3536, allocations: 59.41 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3536, allocations: 0 / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.388, allocations: 4.129 MB / 0.5666 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.54, allocations: 2.75 kB / 0.5666 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.44106278498657]