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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1801/0.1801, allocations: 38.52 MB / 344.5 MB, free: 2.57 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001946/0.001946, allocations: 67.89 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3479, allocations: 61.23 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.006039/0.354, allocations: 5.635 MB / 0.5361 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3558, allocations: 1.32 MB / 0.5374 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.356, allocations: 19.44 kB / 0.5374 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.3564, allocations: 130.8 kB / 0.5375 GB, free: 452 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006544/0.3571, allocations: 379.9 kB / 0.5379 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3573, allocations: 139.2 kB / 0.538 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008258/0.3581, allocations: 0.7485 MB / 0.5387 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.3584, allocations: 130.8 kB / 0.5389 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.3589, allocations: 345.2 kB / 0.5392 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.3595, allocations: 402 kB / 0.5396 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.3596, allocations: 37.22 kB / 0.5396 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.3596, allocations: 36.19 kB / 0.5396 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.3599, allocations: 199.1 kB / 0.5398 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.3601, allocations: 254.2 kB / 0.5401 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.3608, allocations: 0.5315 MB / 0.5406 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3608, allocations: 1.312 kB / 0.5406 GB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3608, allocations: 0 / 0.5406 GB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3608, allocations: 0 / 0.5406 GB, free: 14.45 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001421/0.3622, allocations: 0.8208 MB / 0.5414 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3622, allocations: 10 kB / 0.5414 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.3623, allocations: 54.23 kB / 0.5414 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.3631, allocations: 489.4 kB / 0.5419 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.3632, allocations: 32.41 kB / 0.5419 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.3633, allocations: 45.67 kB / 0.542 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.364, allocations: 0.4985 MB / 0.5425 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.364, allocations: 5.281 kB / 0.5425 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.3641, allocations: 24.33 kB / 0.5425 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.3641, allocations: 17.19 kB / 0.5425 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.3647, allocations: 372.1 kB / 0.5429 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.3673, allocations: 2.074 MB / 0.5449 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.3678, allocations: 222.1 kB / 0.5451 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.368, allocations: 124.3 kB / 0.5452 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.368, allocations: 2.469 kB / 0.5452 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3681, allocations: 40.78 kB / 0.5453 GB, free: 10.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.3681, allocations: 0 / 0.5453 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001333/0.3694, allocations: 0.7683 MB / 0.546 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.3695, allocations: 87.34 kB / 0.5461 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.3699, allocations: 381.2 kB / 0.5465 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.3699, allocations: 26.89 kB / 0.5465 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.3702, allocations: 301.4 kB / 0.5468 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.3703, allocations: 85.56 kB / 0.5469 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3704, allocations: 85.09 kB / 0.5469 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3706, allocations: 349 kB / 0.5473 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3707, allocations: 90.92 kB / 0.5474 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3711, allocations: 274.6 kB / 0.5476 GB, free: 8.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.3716, allocations: 406.1 kB / 0.548 GB, free: 8.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3716, allocations: 2.344 kB / 0.548 GB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00082/0.3724, allocations: 449.7 kB / 0.5484 GB, free: 8.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3725, allocations: 8.281 kB / 0.5485 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3725, allocations: 6.156 kB / 0.5485 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.3727, allocations: 56.7 kB / 0.5485 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.373, allocations: 90.83 kB / 0.5486 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.3747, allocations: 1.609 MB / 0.5502 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3749, allocations: 20.8 kB / 0.5502 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3749, allocations: 20.81 kB / 0.5502 GB, free: 6.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 0.0002194/0.3752, allocations: 196.8 kB / 0.5504 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.3752, allocations: 45.31 kB / 0.5504 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.3756, allocations: 243.9 kB / 0.5507 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3756, allocations: 3.188 kB / 0.5507 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.3756, allocations: 5.219 kB / 0.5507 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3756, allocations: 0 / 0.5507 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3767, allocations: 0.6869 MB / 0.5514 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3767, allocations: 1.188 kB / 0.5514 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3769, allocations: 43.8 kB / 0.5514 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3769, allocations: 2.281 kB / 0.5514 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3769, allocations: 14.2 kB / 0.5514 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3769, allocations: 5.062 kB / 0.5514 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3769, allocations: 1.219 kB / 0.5514 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.3775, allocations: 432.8 kB / 0.5518 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.3777, allocations: 131.5 kB / 0.552 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.3777, allocations: 6.312 kB / 0.552 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.3778, allocations: 11.08 kB / 0.552 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3779, allocations: 15.7 kB / 0.552 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3779, allocations: 4.594 kB / 0.552 GB, free: 5.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.3782, allocations: 257.3 kB / 0.5522 GB, free: 4.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3782, allocations: 1.031 kB / 0.5522 GB, free: 4.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.3786, allocations: 90.34 kB / 0.5523 GB, free: 4.871 MB / 398.1 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 0.0001224/0.3787, allocations: 114.2 kB / 0.5524 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.3793, allocations: 363.9 kB / 0.5528 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3793, allocations: 0 / 0.5528 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3795, allocations: 96.34 kB / 0.5529 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.38, allocations: 95.8 kB / 0.553 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3814, allocations: 0.8586 MB / 0.5538 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.3819, allocations: 0.8581 MB / 0.5546 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.3821, allocations: 80.14 kB / 0.5547 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.3822, allocations: 31.44 kB / 0.5547 GB, free: 2.926 MB / 398.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3822, allocations: 0 / 0.5547 GB, free: 2.926 MB / 398.1 MB Notification: Performance of Templates: time 0.009659/0.3919, allocations: 3.795 MB / 0.5585 GB, free: 15.17 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.010183840058744]