Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001921/0.001921, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002273/0.002273, allocations: 161.7 kB / 24.27 MB, free: 172 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3221/0.3221, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.872e-05/4.079e-05, allocations: 5.406 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01393/0.01397, allocations: 6.445 MB / 375.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.02013, allocations: 2.048 MB / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.02073, allocations: 35.69 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.023, allocations: 0.5053 MB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.02501, allocations: 0.571 MB / 378.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.02645, allocations: 390.9 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.02883, allocations: 1.333 MB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.03004, allocations: 0.5256 MB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.03177, allocations: 0.7636 MB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.03334, allocations: 0.6586 MB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.03358, allocations: 100 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.0351, allocations: 0.5225 MB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008093/0.03591, allocations: 0.491 MB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.03668, allocations: 371.2 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.03965, allocations: 1.55 MB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.03966, allocations: 0 / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03966, allocations: 0 / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.03968, allocations: 0 / 385.2 MB, free: 10.93 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004397/0.04407, allocations: 1.295 MB / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.04413, allocations: 15.98 kB / 386.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.04582, allocations: 268.1 kB / 386.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.04794, allocations: 0.6479 MB / 387.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006294/0.04857, allocations: 329.9 kB / 387.7 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.04891, allocations: 96.67 kB / 387.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.05269, allocations: 1.358 MB / 389.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.05273, allocations: 4 kB / 389.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.0529, allocations: 35.98 kB / 389.2 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002543/0.05315, allocations: 61.97 kB / 389.3 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.05696, allocations: 1.296 MB / 390.6 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.06739, allocations: 4.502 MB / 395.1 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.07055, allocations: 1.004 MB / 396.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.07216, allocations: 0.5803 MB / 396.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.598e-05/0.07223, allocations: 20.64 kB / 396.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.07228, allocations: 43.16 kB / 396.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 4.067e-06/0.07228, allocations: 0 / 396.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.008948/0.08123, allocations: 2.987 MB / 399.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.08133, allocations: 85.77 kB / 399.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.08207, allocations: 417.7 kB / 400.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.08215, allocations: 37.7 kB / 400.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.08261, allocations: 416.2 kB / 400.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.08298, allocations: 265.8 kB / 400.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.08338, allocations: 146.6 kB / 401 MB, free: 10.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002617/0.08364, allocations: 370.8 kB / 401.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.08515, allocations: 0.4899 MB / 401.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.08677, allocations: 0.6874 MB / 402.6 MB, free: 9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.08968, allocations: 1.216 MB / 403.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.08969, allocations: 4 kB / 403.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005061/0.09475, allocations: 1.931 MB / 405.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.09478, allocations: 8 kB / 405.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004345/0.09912, allocations: 1.623 MB / 407.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/0.1026, allocations: 0.9719 MB / 408.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.1033, allocations: 151.7 kB / 408.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.1165, allocations: 7.123 MB / 415.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.1172, allocations: 79.98 kB / 415.7 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.1173, allocations: 32 kB / 415.7 MB, free: 11.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005913/0.1179, allocations: 313.5 kB / 416 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.1182, allocations: 87.56 kB / 416.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.121, allocations: 1.214 MB / 417.3 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.121, allocations: 12 kB / 417.3 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.121, allocations: 7.938 kB / 417.3 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1211, allocations: 3.984 kB / 417.4 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.1256, allocations: 2.092 MB / 419.4 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1256, allocations: 0 / 419.4 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.1283, allocations: 495.4 kB / 419.9 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.1285, allocations: 36.84 kB / 420 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.1285, allocations: 19.92 kB / 420 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.13, allocations: 1.508 MB / 421.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.13, allocations: 0 / 421.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.1338, allocations: 1.962 MB / 423.5 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1339, allocations: 55.64 kB / 423.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.134, allocations: 23.98 kB / 423.5 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.1345, allocations: 59.92 kB / 423.6 MB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.1347, allocations: 68.47 kB / 423.7 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.1348, allocations: 16 kB / 423.7 MB, free: 3.402 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003704/0.1351, allocations: 271.1 kB / 423.9 MB, free: 3.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1351, allocations: 0 / 423.9 MB, free: 3.137 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009788/0.1361, allocations: 232 kB / 424.2 MB, free: 2.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/0.1364, allocations: 142.4 kB / 424.3 MB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.1396, allocations: 1.513 MB / 425.8 MB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1396, allocations: 0 / 425.8 MB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.1424, allocations: 0.9632 MB / 426.8 MB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.1432, allocations: 132.2 kB / 426.9 MB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.1474, allocations: 2.134 MB / 429 MB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.1481, allocations: 485.5 kB / 429.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005701/0.1487, allocations: 201.1 kB / 429.7 MB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.149, allocations: 60.42 kB / 429.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.149, allocations: 4 kB / 429.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of Templates: time 0.02421/0.1732, allocations: 11.96 MB / 441.7 MB, free: 1.355 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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.848783846013248]