Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001267/0.001267, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001478/0.001478, allocations: 161.4 kB / 24.56 MB, free: 16 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.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.637 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.2388/0.2388, allocations: 29.42 MB / 290.9 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.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.779e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004631/0.004658, allocations: 4.242 MB / 373.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006741, allocations: 1.321 MB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.00699, allocations: 19.81 kB / 375.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.007682, allocations: 163 kB / 375.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.008206, allocations: 258.5 kB / 375.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.008652, allocations: 171.5 kB / 375.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.009283, allocations: 0.5722 MB / 376.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.009673, allocations: 233.4 kB / 376.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.01019, allocations: 347 kB / 376.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.01061, allocations: 259.3 kB / 377.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.01066, allocations: 32 kB / 377.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.01093, allocations: 131.7 kB / 377.4 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.01112, allocations: 203.5 kB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.01128, allocations: 151.6 kB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.0118, allocations: 386.6 kB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.0118, allocations: 3.984 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0118, allocations: 0 / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01181, allocations: 4 kB / 378.1 MB, free: 2.527 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009698/0.01278, allocations: 0.731 MB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.01283, allocations: 15.98 kB / 378.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.01335, allocations: 116.6 kB / 378.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.0139, allocations: 366.7 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.01393, allocations: 29.3 kB / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.01405, allocations: 44.73 kB / 379.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.01453, allocations: 338 kB / 379.7 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.01455, allocations: 4 kB / 379.7 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.01458, allocations: 19.98 kB / 379.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.01466, allocations: 24.98 kB / 379.8 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.01496, allocations: 153.8 kB / 379.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.0166, allocations: 1.535 MB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.01683, allocations: 110.1 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.01692, allocations: 63.41 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.01694, allocations: 4 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.01697, allocations: 33.39 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.01697, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001077/0.01805, allocations: 0.5646 MB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.01809, allocations: 81.11 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.01834, allocations: 338.2 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.01836, allocations: 25.7 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.01852, allocations: 310.7 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.01857, allocations: 67.47 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.01866, allocations: 63.59 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.0188, allocations: 0.5158 MB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.01889, allocations: 48.05 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.01904, allocations: 191.7 kB / 383.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.01931, allocations: 254.3 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.01931, allocations: 3.938 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005772/0.01989, allocations: 328.7 kB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01991, allocations: 8 kB / 384.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000328/0.02023, allocations: 171.7 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.02066, allocations: 115.8 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.02081, allocations: 55.91 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.02273, allocations: 2.355 MB / 387.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.02286, allocations: 16 kB / 387.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.02288, allocations: 12 kB / 387.1 MB, free: 8.906 MB / 362.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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.023, allocations: 180.4 kB / 387.3 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.02305, allocations: 39.73 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.02331, allocations: 167.5 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.02332, allocations: 0 / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.02332, allocations: 4 kB / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.02332, allocations: 0 / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.02408, allocations: 0.59 MB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.02408, allocations: 0 / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.02422, allocations: 35.98 kB / 388.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.997e-05/0.02429, allocations: 23.67 kB / 388.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.02431, allocations: 4 kB / 388.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009933/0.0253, allocations: 1.892 MB / 390 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.0253, allocations: 3.938 kB / 390.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.02568, allocations: 366.3 kB / 390.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.02572, allocations: 27.8 kB / 390.4 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.02574, allocations: 8.125 kB / 390.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.02584, allocations: 8 kB / 390.5 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.02588, allocations: 19.91 kB / 390.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.02589, allocations: 4 kB / 390.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.02605, allocations: 219 kB / 390.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02605, allocations: 3.938 kB / 390.7 MB, free: 5.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004327/0.02649, allocations: 91.94 kB / 390.8 MB, free: 5.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.0266, allocations: 103.2 kB / 390.9 MB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.02713, allocations: 375.1 kB / 391.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02713, allocations: 0 / 391.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.02736, allocations: 268.8 kB / 391.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.02778, allocations: 64.83 kB / 391.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.02939, allocations: 0.7776 MB / 392.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.02951, allocations: 132.6 kB / 392.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.02964, allocations: 50.92 kB / 392.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.0297, allocations: 28.48 kB / 392.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0297, allocations: 3.938 kB / 392.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of Templates: time 0.007447/0.03715, allocations: 3.947 MB / 396.5 MB, free: 15.22 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.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.350093968678266]