Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.001064/0.001064, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009484/0.0009484, allocations: 173.8 kB / 25.61 MB, free: 8.898 MB / 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.011/1.011, allocations: 177.1 MB / 206 MB, free: 4.5 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.1276/0.1276, allocations: 29.43 MB / 292 MB, free: 2.648 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.337e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.003527/0.003541, allocations: 4.373 MB / 375.3 MB, free: 27.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.005167, allocations: 1.479 MB / 376.7 MB, free: 26.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.005338, allocations: 23.81 kB / 376.8 MB, free: 26.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.005651, allocations: 99.19 kB / 376.9 MB, free: 26.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.006008, allocations: 286.1 kB / 377.1 MB, free: 26.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.006184, allocations: 107.8 kB / 377.2 MB, free: 25.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.00657, allocations: 0.5212 MB / 377.8 MB, free: 25.42 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.006708, allocations: 100.5 kB / 377.9 MB, free: 25.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.006936, allocations: 307.1 kB / 378.2 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.007105, allocations: 175.5 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.007136, allocations: 28 kB / 378.4 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.877e-05/0.007165, allocations: 24 kB / 378.4 MB, free: 24.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.007233, allocations: 119.6 kB / 378.5 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.007311, allocations: 119.7 kB / 378.6 MB, free: 24.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.007515, allocations: 262.9 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.007517, allocations: 4 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007517, allocations: 0 / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.007523, allocations: 0 / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005173/0.00804, allocations: 0.6953 MB / 379.6 MB, free: 23.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.008068, allocations: 11.97 kB / 379.6 MB, free: 23.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.008129, allocations: 60.7 kB / 379.6 MB, free: 23.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.008422, allocations: 335.6 kB / 380 MB, free: 23.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.008436, allocations: 21.03 kB / 380 MB, free: 23.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.008465, allocations: 28.38 kB / 380 MB, free: 23.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.008669, allocations: 283.7 kB / 380.3 MB, free: 22.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.008682, allocations: 3.953 kB / 380.3 MB, free: 22.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.008697, allocations: 16 kB / 380.3 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.008705, allocations: 8 kB / 380.3 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.008796, allocations: 95.28 kB / 380.4 MB, free: 22.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.009468, allocations: 1.75 MB / 382.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.009636, allocations: 180.3 kB / 382.3 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.009677, allocations: 69.45 kB / 382.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.00969, allocations: 4 kB / 382.4 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.009711, allocations: 41.39 kB / 382.5 MB, free: 20.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.009713, allocations: 0 / 382.5 MB, free: 20.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004466/0.01016, allocations: 359.7 kB / 382.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.01019, allocations: 132.9 kB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01032, allocations: 334.1 kB / 383.3 MB, free: 19.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.01033, allocations: 33.7 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01041, allocations: 271 kB / 383.6 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.01044, allocations: 71.41 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.01048, allocations: 55.34 kB / 383.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.01055, allocations: 0.5234 MB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.01058, allocations: 19.97 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.01067, allocations: 171.7 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.01084, allocations: 215 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01084, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002473/0.01108, allocations: 212.5 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.0111, allocations: 7.938 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01111, allocations: 4 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01112, allocations: 4 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.01139, allocations: 80.34 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/0.01189, allocations: 1.786 MB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.01201, allocations: 8 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01202, allocations: 8 kB / 386.7 MB, free: 15.83 MB / 314.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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.01211, allocations: 176.6 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.01219, allocations: 39.81 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.01238, allocations: 148.1 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01238, allocations: 7.938 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01238, allocations: 0 / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.01239, allocations: 7.984 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.0129, allocations: 425.9 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0129, allocations: 0 / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.01307, allocations: 39.95 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01308, allocations: 8 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01309, allocations: 7.938 kB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01309, allocations: 7.984 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.0131, allocations: 0 / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01336, allocations: 0.559 MB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01339, allocations: 23.81 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.01342, allocations: 7.938 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.0136, allocations: 4 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.01363, allocations: 15.97 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01364, allocations: 12 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.932e-05/0.01374, allocations: 210.9 kB / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01374, allocations: 0 / 388.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000466/0.0142, allocations: 60 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.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 (20): * Single equations (assignments): 19 * 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 7.638e-05/0.01428, allocations: 99.19 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.0145, allocations: 124.3 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0145, allocations: 4.188 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.877e-05/0.01457, allocations: 59.05 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.01524, allocations: 79.02 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.01673, allocations: 0.7433 MB / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.0168, allocations: 112.5 kB / 389.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.01693, allocations: 42.95 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.01709, allocations: 138.2 kB / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01709, allocations: 0 / 389.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of Templates: time 0.006401/0.02349, allocations: 3.191 MB / 393 MB, free: 9.457 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.076152711175382]