Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001503/0.001503, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001104/0.001104, allocations: 166.5 kB / 25.61 MB, free: 8.492 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.9719/0.9719, allocations: 177.1 MB / 206.1 MB, free: 4.508 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.1162/0.1162, allocations: 29.43 MB / 292 MB, free: 2.648 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.385e-05, allocations: 5.375 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.003409/0.003423, allocations: 4.718 MB / 375.6 MB, free: 27.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.004836, allocations: 1.309 MB / 376.9 MB, free: 26.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.005022, allocations: 23.81 kB / 376.9 MB, free: 26.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.00537, allocations: 127 kB / 377.1 MB, free: 26.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.005857, allocations: 385.9 kB / 377.4 MB, free: 25.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.006028, allocations: 139.6 kB / 377.6 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.00646, allocations: 0.7707 MB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.006615, allocations: 124.7 kB / 378.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.007122, allocations: 0.5338 MB / 379 MB, free: 24.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.007374, allocations: 299.1 kB / 379.3 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.007407, allocations: 32 kB / 379.3 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.643e-05/0.007453, allocations: 32 kB / 379.3 MB, free: 23.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.007556, allocations: 203.4 kB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.007658, allocations: 167.6 kB / 379.7 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.007902, allocations: 366.6 kB / 380.1 MB, free: 23.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007903, allocations: 4 kB / 380.1 MB, free: 23.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.007904, allocations: 0 / 380.1 MB, free: 23.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007909, allocations: 0 / 380.1 MB, free: 23.1 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0005693/0.008478, allocations: 0.8088 MB / 380.9 MB, free: 22.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.008504, allocations: 12.03 kB / 380.9 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.008571, allocations: 84.61 kB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.008872, allocations: 406.7 kB / 381.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.008889, allocations: 29.38 kB / 381.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.008924, allocations: 40.36 kB / 381.4 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.009166, allocations: 361.4 kB / 381.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.009176, allocations: 4 kB / 381.8 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.009195, allocations: 16 kB / 381.8 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.009222, allocations: 21 kB / 381.8 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.009346, allocations: 138.8 kB / 382 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009819/0.01033, allocations: 2.141 MB / 384.1 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.01048, allocations: 154.3 kB / 384.3 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.01055, allocations: 87.25 kB / 384.3 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.01057, allocations: 4 kB / 384.4 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.01058, allocations: 41.39 kB / 384.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.01058, allocations: 0 / 384.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004462/0.01103, allocations: 424.3 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.01105, allocations: 89.05 kB / 384.9 MB, free: 17.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01119, allocations: 406.3 kB / 385.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.0112, allocations: 33.69 kB / 385.3 MB, free: 17.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.01129, allocations: 342.8 kB / 385.7 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.01131, allocations: 95.23 kB / 385.8 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01137, allocations: 79.78 kB / 385.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.01142, allocations: 0.5312 MB / 386.4 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.01145, allocations: 32.97 kB / 386.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.01152, allocations: 289.2 kB / 386.7 MB, free: 16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01167, allocations: 364.5 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01167, allocations: 4 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002776/0.01195, allocations: 349.3 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01196, allocations: 8 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01197, allocations: 8 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/0.01207, allocations: 48.12 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01218, allocations: 71.84 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005023/0.01268, allocations: 1.847 MB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.01278, allocations: 12 kB / 389.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.01279, allocations: 16 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (44): * Single equations (assignments): 43 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.01286, allocations: 188.3 kB / 389.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.01289, allocations: 47.72 kB / 389.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.01302, allocations: 170.3 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01302, allocations: 0 / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01302, allocations: 4 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01302, allocations: 3.938 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.01333, allocations: 0.5198 MB / 390.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01334, allocations: 0 / 390.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.01344, allocations: 47.92 kB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01344, allocations: 0 / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.01344, allocations: 8.062 kB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01345, allocations: 3.984 kB / 390.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01345, allocations: 0 / 390.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.0136, allocations: 382.3 kB / 390.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.01364, allocations: 43.69 kB / 390.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01366, allocations: 8 kB / 390.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.01372, allocations: 4 kB / 390.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.01374, allocations: 23.89 kB / 390.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.01375, allocations: 4 kB / 390.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.01382, allocations: 247 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 4.031 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.01405, allocations: 88 kB / 391.2 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 5.092e-05/0.01411, allocations: 103.2 kB / 391.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.01435, allocations: 363.6 kB / 391.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01435, allocations: 0 / 391.6 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.01439, allocations: 71.52 kB / 391.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01471, allocations: 95.53 kB / 391.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008393/0.01555, allocations: 0.7728 MB / 392.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.01561, allocations: 145.1 kB / 392.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.393e-05/0.0157, allocations: 51.38 kB / 392.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.01581, allocations: 150.2 kB / 392.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01581, allocations: 0 / 392.9 MB, free: 9.363 MB / 314.7 MB Notification: Performance of Templates: time 0.005237/0.02105, allocations: 3.946 MB / 396.8 MB, free: 5.531 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.14145175088197]