Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001894/0.001894, 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.002446/0.002446, allocations: 211.4 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2006/0.2006, allocations: 38.56 MB / 352.5 MB, free: 12.43 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [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.002156/0.002156, allocations: 67.91 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3993, allocations: 62.46 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00816/0.4074, allocations: 4.263 MB / 0.5466 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.4095, allocations: 0.9071 MB / 0.5475 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.4096, allocations: 23.31 kB / 0.5475 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.4099, allocations: 57.89 kB / 0.5476 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.4106, allocations: 239.9 kB / 0.5478 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.4108, allocations: 103.1 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.4115, allocations: 0.4954 MB / 0.5484 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.4118, allocations: 92.28 kB / 0.5485 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.4122, allocations: 237.5 kB / 0.5487 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.4128, allocations: 271.2 kB / 0.5489 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.4128, allocations: 27.64 kB / 0.549 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.4129, allocations: 23.97 kB / 0.549 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.4131, allocations: 150.8 kB / 0.5491 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.4133, allocations: 145.8 kB / 0.5493 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.4138, allocations: 376.3 kB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4138, allocations: 1.531 kB / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4138, allocations: 0 / 0.5496 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4138, allocations: 0 / 0.5496 GB, free: 11.11 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001271/0.4151, allocations: 0.5928 MB / 0.5502 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4151, allocations: 12.8 kB / 0.5502 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.4152, allocations: 39.02 kB / 0.5503 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.4159, allocations: 322.3 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.4159, allocations: 27.72 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.416, allocations: 24.38 kB / 0.5506 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.4166, allocations: 352.1 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4166, allocations: 1 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.4166, allocations: 10.59 kB / 0.551 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.4167, allocations: 25.84 kB / 0.551 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.4171, allocations: 246.1 kB / 0.5512 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.419, allocations: 1.24 MB / 0.5524 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.4194, allocations: 157.2 kB / 0.5526 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4196, allocations: 98.47 kB / 0.5527 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4196, allocations: 1.062 kB / 0.5527 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4196, allocations: 36.94 kB / 0.5527 GB, free: 8.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4196, allocations: 1.125 kB / 0.5527 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001416/0.4211, allocations: 0.6201 MB / 0.5533 GB, free: 8.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.4211, allocations: 80.36 kB / 0.5534 GB, free: 8.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.4215, allocations: 300.5 kB / 0.5537 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4215, allocations: 31.33 kB / 0.5537 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4217, allocations: 220.4 kB / 0.5539 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.4218, allocations: 57.58 kB / 0.554 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.4219, allocations: 49.08 kB / 0.554 GB, free: 7.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.422, allocations: 338.8 kB / 0.5543 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4222, allocations: 67.89 kB / 0.5544 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.4224, allocations: 166.3 kB / 0.5546 GB, free: 7.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.4228, allocations: 257 kB / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4228, allocations: 5.156 kB / 0.5548 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005796/0.4234, allocations: 319.1 kB / 0.5551 GB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4234, allocations: 10.44 kB / 0.5551 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4234, allocations: 3.5 kB / 0.5551 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.4237, allocations: 53.97 kB / 0.5552 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.4238, allocations: 49.31 kB / 0.5552 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.4254, allocations: 1.476 MB / 0.5567 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.4256, allocations: 11.94 kB / 0.5567 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.4256, allocations: 19.92 kB / 0.5567 GB, free: 5.109 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 (28): * Single equations (assignments): 27 * 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.0002101/0.4259, allocations: 173.7 kB / 0.5569 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.4259, allocations: 23.86 kB / 0.5569 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.4263, allocations: 236.2 kB / 0.5571 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.4264, allocations: 7.922 kB / 0.5571 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4264, allocations: 4 kB / 0.5571 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4264, allocations: 3.984 kB / 0.5571 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.4273, allocations: 0.5455 MB / 0.5577 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4273, allocations: 0 / 0.5577 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.4274, allocations: 27.92 kB / 0.5577 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.4276, allocations: 64.73 kB / 0.5578 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4276, allocations: 8 kB / 0.5578 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.4292, allocations: 1.467 MB / 0.5592 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4292, allocations: 0 / 0.5592 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.4297, allocations: 415.6 kB / 0.5596 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.4298, allocations: 23.88 kB / 0.5596 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.4298, allocations: 11.94 kB / 0.5596 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.43, allocations: 7.938 kB / 0.5596 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.43, allocations: 15.97 kB / 0.5597 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.43, allocations: 4 kB / 0.5597 GB, free: 1.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.4302, allocations: 207.1 kB / 0.5599 GB, free: 1.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4302, allocations: 4.156 kB / 0.5599 GB, free: 1.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.4306, allocations: 72 kB / 0.5599 GB, free: 1.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.0001306/0.4308, allocations: 103.2 kB / 0.56 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006256/0.4314, allocations: 307.2 kB / 0.5603 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4314, allocations: 0 / 0.5603 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.4318, allocations: 206.5 kB / 0.5605 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.4323, allocations: 59.2 kB / 0.5606 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4336, allocations: 0.7448 MB / 0.5613 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.4338, allocations: 199.5 kB / 0.5615 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.4339, allocations: 46.94 kB / 0.5615 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.434, allocations: 23.44 kB / 0.5616 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.434, allocations: 0 / 0.5616 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.008228/0.4422, allocations: 3.444 MB / 0.5649 GB, free: 12.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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: 5.522029016166925]