Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001002/0.001002, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001155/0.001155, allocations: 165 kB / 24.56 MB, free: 12 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 0.988/0.988, allocations: 177.1 MB / 205 MB, free: 5.621 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.2442/0.2442, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.547e-05, allocations: 9.547 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004126/0.004151, allocations: 3.92 MB / 373.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.005297, allocations: 0.9117 MB / 374.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.005453, allocations: 15.88 kB / 374.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.005624, allocations: 47.56 kB / 374.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.006016, allocations: 186.8 kB / 374.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.006171, allocations: 95.75 kB / 374.8 MB, free: 5.777 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.00649, allocations: 414.3 kB / 375.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.00666, allocations: 66.7 kB / 375.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.006967, allocations: 243.3 kB / 375.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.007184, allocations: 163.5 kB / 375.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.007215, allocations: 20 kB / 375.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.212e-05/0.007247, allocations: 20 kB / 375.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.176e-05/0.007329, allocations: 99.64 kB / 375.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.007417, allocations: 99.77 kB / 375.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.007674, allocations: 211.1 kB / 376.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.00768, allocations: 0 / 376.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007682, allocations: 0 / 376.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007688, allocations: 0 / 376.1 MB, free: 4.473 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006574/0.008345, allocations: 0.6255 MB / 376.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.008379, allocations: 11.98 kB / 376.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.008449, allocations: 52.7 kB / 376.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.008782, allocations: 294.5 kB / 377.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.008799, allocations: 12.88 kB / 377.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.008833, allocations: 24.38 kB / 377.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.009085, allocations: 250.4 kB / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.009093, allocations: 0 / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.009111, allocations: 19.88 kB / 377.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.00912, allocations: 4 kB / 377.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.009248, allocations: 81 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.01021, allocations: 1.415 MB / 378.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.01043, allocations: 114.1 kB / 379 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.01048, allocations: 31.36 kB / 379 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.0105, allocations: 4 kB / 379 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.01052, allocations: 45.31 kB / 379.1 MB, free: 1.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01052, allocations: 0 / 379.1 MB, free: 1.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005761/0.0111, allocations: 377.1 kB / 379.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.01114, allocations: 81.11 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01131, allocations: 300.2 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.01132, allocations: 25.7 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01142, allocations: 254.8 kB / 380.1 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.01145, allocations: 39.62 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.0115, allocations: 47.36 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01164, allocations: 0.504 MB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.01169, allocations: 24.11 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.01178, allocations: 163.2 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.01193, allocations: 195 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01193, allocations: 4 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001963/0.01213, allocations: 189.5 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01215, allocations: 8 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01215, allocations: 4 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01217, allocations: 4 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01227, allocations: 47.92 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01228, allocations: 7.938 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.01234, allocations: 7.953 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.01235, allocations: 15.98 kB / 381.3 MB, free: 14.77 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.01243, allocations: 168.5 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.01247, allocations: 27.86 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.01262, allocations: 115.4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01263, allocations: 8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.01263, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01263, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.01299, allocations: 444.9 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01299, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.01307, allocations: 23.98 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01307, allocations: 0 / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01308, allocations: 3.938 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01309, allocations: 4 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01309, allocations: 4.031 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.01332, allocations: 299.1 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.01334, allocations: 27.75 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.01336, allocations: 4 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.01341, allocations: 0 / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.01344, allocations: 15.92 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01344, allocations: 7.984 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01355, allocations: 205.1 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01355, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.01376, allocations: 44 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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 8.4e-05/0.01384, allocations: 95.28 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01399, allocations: 98.09 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01399, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.01404, allocations: 43.55 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.01435, allocations: 63.59 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.0153, allocations: 0.5138 MB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.01536, allocations: 100.2 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.01543, allocations: 30.28 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.01548, allocations: 20.5 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01548, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003958/0.01944, allocations: 2.072 MB / 385.7 MB, free: 10.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.3150850450620055]