Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.0009245/0.0009245, allocations: 71.77 kB / 21.69 MB, free: 2.848 MB / 18.57 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.001098/0.001098, allocations: 160.5 kB / 24.99 MB, free: 9.305 MB / 18.57 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 0.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2365/0.2365, allocations: 29.41 MB / 291.2 MB, free: 2.504 MB / 266.7 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.685e-05, allocations: 5.406 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.01225/0.01228, allocations: 4.708 MB / 374.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.01414, allocations: 1.464 MB / 375.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.0143, allocations: 19.81 kB / 375.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.01803, allocations: 386.3 kB / 376.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.01834, allocations: 250.5 kB / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.01886, allocations: 263.2 kB / 376.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.01937, allocations: 0.5688 MB / 377.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.01973, allocations: 258.7 kB / 377.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.02007, allocations: 355 kB / 377.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.02035, allocations: 295.2 kB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.02062, allocations: 32 kB / 378.2 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.02081, allocations: 155.7 kB / 378.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.02097, allocations: 247.4 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.02109, allocations: 175.6 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.0215, allocations: 478.3 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.0215, allocations: 0 / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0215, allocations: 0 / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.02151, allocations: 0 / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007864/0.0223, allocations: 0.8017 MB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.02233, allocations: 11.98 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.02282, allocations: 184.3 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.0232, allocations: 354.8 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.02323, allocations: 41.3 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.02332, allocations: 48.73 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.0238, allocations: 0.5063 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.02382, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.02385, allocations: 19.98 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.02391, allocations: 32.98 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.02424, allocations: 229.6 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.02623, allocations: 3.483 MB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.02642, allocations: 129.2 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.0265, allocations: 63.28 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.02653, allocations: 8 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.02655, allocations: 33.39 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.02655, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001064/0.02762, allocations: 0.5835 MB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.02766, allocations: 89.08 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.02789, allocations: 394.5 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.02791, allocations: 25.7 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.02806, allocations: 370.5 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.02811, allocations: 79.31 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.0282, allocations: 95.8 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.02834, allocations: 0.5196 MB / 387.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.02842, allocations: 48.97 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.02862, allocations: 351.2 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.02893, allocations: 440.6 kB / 388.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02893, allocations: 4 kB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005285/0.02946, allocations: 428.1 kB / 388.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.02948, allocations: 11.19 kB / 388.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/0.02971, allocations: 154.3 kB / 388.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.02995, allocations: 87.52 kB / 388.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.03012, allocations: 91.89 kB / 388.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009389/0.03106, allocations: 1.853 MB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.03118, allocations: 23.94 kB / 390.7 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.03121, allocations: 24 kB / 390.7 MB, free: 5.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.03131, allocations: 184.4 kB / 390.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.03136, allocations: 43.75 kB / 391 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.03161, allocations: 200.6 kB / 391.2 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.03161, allocations: 4 kB / 391.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.03161, allocations: 32 / 391.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.03161, allocations: 4 kB / 391.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.03222, allocations: 0.6439 MB / 391.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.03223, allocations: 0 / 391.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.03237, allocations: 55.91 kB / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.03237, allocations: 144 / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.03239, allocations: 8 kB / 391.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.03239, allocations: 4 kB / 391.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03239, allocations: 64 / 391.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.03284, allocations: 415.5 kB / 392.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.03287, allocations: 35.75 kB / 392.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.03289, allocations: 0 / 392.3 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.03297, allocations: 11.98 kB / 392.3 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.033, allocations: 19.97 kB / 392.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.03301, allocations: 8 kB / 392.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.03314, allocations: 239.1 kB / 392.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03314, allocations: 0 / 392.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.03342, allocations: 99.94 kB / 392.7 MB, free: 3.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.826e-05/0.03349, allocations: 103.2 kB / 392.8 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.0339, allocations: 404.7 kB / 393.2 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0339, allocations: 0 / 393.2 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.03399, allocations: 83.59 kB / 393.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.03429, allocations: 67.95 kB / 393.3 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.03548, allocations: 0.8453 MB / 394.2 MB, free: 1.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.511e-05/0.03556, allocations: 141.2 kB / 394.3 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.03571, allocations: 99.14 kB / 394.4 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.03577, allocations: 40.44 kB / 394.5 MB, free: 1.367 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03577, allocations: 3.938 kB / 394.5 MB, free: 1.363 MB / 362.7 MB Notification: Performance of Templates: time 0.00513/0.0409, allocations: 3.606 MB / 398.1 MB, free: 13.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.099388799862936]