Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001869/0.001869, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002368/0.002368, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.2945/0.2945, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.545e-05, allocations: 5.547 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008681/0.008706, allocations: 6.048 MB / 374.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.01141, allocations: 1.387 MB / 376.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.01168, allocations: 31.69 kB / 376.4 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.01218, allocations: 150.8 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.01309, allocations: 445.4 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.01363, allocations: 223.4 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.01499, allocations: 1.133 MB / 378.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.01537, allocations: 217.2 kB / 378.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.0165, allocations: 0.6466 MB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009764/0.01747, allocations: 0.5182 MB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.0176, allocations: 64 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.01776, allocations: 68 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.01816, allocations: 335.1 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.01859, allocations: 259.4 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.0198, allocations: 0.888 MB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0198, allocations: 0 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0198, allocations: 4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.01981, allocations: 0 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002121/0.02193, allocations: 0.9626 MB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.02198, allocations: 11.98 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.02222, allocations: 128.5 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.02337, allocations: 0.5422 MB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.02364, allocations: 216.1 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.02375, allocations: 60.36 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.02526, allocations: 0.7888 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.02527, allocations: 0 / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.02535, allocations: 24 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.02548, allocations: 32.97 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.02697, allocations: 0.6908 MB / 384.7 MB, free: 11.29 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.03161, allocations: 2.432 MB / 387.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.03347, allocations: 0.6998 MB / 387.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.03409, allocations: 313.6 kB / 388.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.03412, allocations: 11.75 kB / 388.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.03417, allocations: 46.38 kB / 388.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/0.03417, allocations: 0 / 388.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.004156/0.03832, allocations: 1.652 MB / 389.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.0384, allocations: 85.11 kB / 389.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.03893, allocations: 385.5 kB / 390.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.03898, allocations: 33.7 kB / 390.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.0393, allocations: 320.8 kB / 390.7 MB, free: 5.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.03945, allocations: 154.8 kB / 390.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.0396, allocations: 78.19 kB / 390.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.03981, allocations: 358.7 kB / 391.2 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.04036, allocations: 240.8 kB / 391.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.04098, allocations: 345.7 kB / 391.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.04214, allocations: 0.5781 MB / 392.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.04214, allocations: 0 / 392.4 MB, free: 3.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001634/0.04378, allocations: 0.7291 MB / 393.1 MB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.0438, allocations: 7.938 kB / 393.1 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.04381, allocations: 4 kB / 393.1 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.04415, allocations: 85.59 kB / 393.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.04558, allocations: 287.6 kB / 393.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.05263, allocations: 5.992 MB / 399.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.05309, allocations: 31.97 kB / 399.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.05314, allocations: 20 kB / 399.5 MB, free: 11.73 MB / 378.7 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004345/0.05357, allocations: 241.6 kB / 399.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.05369, allocations: 59.67 kB / 399.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.05536, allocations: 0.6545 MB / 400.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.05537, allocations: 4 kB / 400.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.05537, allocations: 4 kB / 400.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.05538, allocations: 0 / 400.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.05801, allocations: 1.268 MB / 401.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.05802, allocations: 3.984 kB / 401.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.05967, allocations: 303.6 kB / 402.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.06002, allocations: 97.52 kB / 402.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.06007, allocations: 15.92 kB / 402.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.06298, allocations: 2.901 MB / 405.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.06298, allocations: 7.969 kB / 405.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.06514, allocations: 1.051 MB / 406.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.06523, allocations: 47.7 kB / 406.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.0653, allocations: 8 kB / 406.2 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.06563, allocations: 31.95 kB / 406.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.06577, allocations: 47.88 kB / 406.3 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.0658, allocations: 8 kB / 406.3 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003523/0.06615, allocations: 267.1 kB / 406.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06615, allocations: 0 / 406.5 MB, free: 4.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.06682, allocations: 136 kB / 406.7 MB, free: 4.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001774/0.067, allocations: 111.2 kB / 406.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.06991, allocations: 0.9724 MB / 407.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.06991, allocations: 0 / 407.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.072, allocations: 0.7121 MB / 408.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.07277, allocations: 135.1 kB / 408.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.0754, allocations: 1.325 MB / 409.9 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.07586, allocations: 348.9 kB / 410.3 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.07616, allocations: 88.36 kB / 410.4 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.0763, allocations: 44.48 kB / 410.4 MB, free: 452 kB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0763, allocations: 0 / 410.4 MB, free: 452 kB / 378.7 MB Notification: Performance of Templates: time 0.01539/0.09169, allocations: 7.253 MB / 417.6 MB, free: 9.297 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.187116739107296]