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.00188/0.00188, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001739/0.001739, allocations: 172.3 kB / 24.82 MB, free: 9.273 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.259/1.259, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3053/0.3053, allocations: 29.43 MB / 291.2 MB, free: 2.465 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 2.705e-06/2.705e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.926e-05/4.197e-05, allocations: 5.547 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006472/0.006514, allocations: 4.36 MB / 374.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.009363, allocations: 1.464 MB / 375.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.009821, allocations: 27.75 kB / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.01043, allocations: 107.1 kB / 376.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009779/0.01141, allocations: 278.2 kB / 376.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.01186, allocations: 115.8 kB / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009338/0.01279, allocations: 0.525 MB / 377 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.01306, allocations: 104.4 kB / 377.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.01369, allocations: 291.3 kB / 377.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.01402, allocations: 175.5 kB / 377.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.01407, allocations: 28 kB / 377.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.01412, allocations: 24 kB / 377.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.01424, allocations: 115.6 kB / 377.7 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.01436, allocations: 123.7 kB / 377.8 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.01484, allocations: 259 kB / 378.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.01485, allocations: 3.984 kB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01485, allocations: 0 / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.01486, allocations: 0 / 378.1 MB, free: 2.719 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001052/0.01591, allocations: 0.6875 MB / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.01598, allocations: 15.98 kB / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.0161, allocations: 60.7 kB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.01669, allocations: 347.6 kB / 379.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.01672, allocations: 21.02 kB / 379.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.01677, allocations: 32.33 kB / 379.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.01714, allocations: 279.7 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.01716, allocations: 0 / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.01718, allocations: 12 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.0172, allocations: 8 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.01734, allocations: 107.3 kB / 379.6 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.01893, allocations: 1.75 MB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.01925, allocations: 184.3 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/0.01932, allocations: 58.8 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.01935, allocations: 7.938 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.01939, allocations: 37.39 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.926e-06/0.01939, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008076/0.0202, allocations: 368.2 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.02028, allocations: 136.5 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.02053, allocations: 330.1 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.02056, allocations: 37.64 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.02073, allocations: 267.5 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.02079, allocations: 71.42 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.02087, allocations: 59.33 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.02106, allocations: 0.5156 MB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.02109, allocations: 15.98 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.02122, allocations: 179.1 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.02144, allocations: 214.5 kB / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02144, allocations: 0 / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002501/0.02169, allocations: 205.1 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.02171, allocations: 4 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.02172, allocations: 4 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.02174, allocations: 4 kB / 384 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.02199, allocations: 84.33 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.02302, allocations: 1.786 MB / 385.9 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.02313, allocations: 15.89 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.02315, allocations: 8 kB / 385.9 MB, free: 10.24 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 (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 0.0001438/0.02329, allocations: 176.5 kB / 386.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.02336, allocations: 31.94 kB / 386.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.02357, allocations: 144.2 kB / 386.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.02358, allocations: 7.938 kB / 386.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02359, allocations: 3.984 kB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02359, allocations: 4 kB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.02415, allocations: 433 kB / 386.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02415, allocations: 0 / 386.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.0243, allocations: 47.91 kB / 386.8 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.02431, allocations: 0 / 386.8 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.02433, allocations: 11.94 kB / 386.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.02434, allocations: 4.031 kB / 386.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.02434, allocations: 0 / 386.8 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.02479, allocations: 0.5485 MB / 387.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.02483, allocations: 31.77 kB / 387.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.02485, allocations: 7.938 kB / 387.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.02496, allocations: 8 kB / 387.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.02499, allocations: 11.97 kB / 387.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.025, allocations: 4 kB / 387.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.02513, allocations: 222.9 kB / 387.6 MB, free: 8.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.02513, allocations: 0 / 387.6 MB, free: 8.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.02545, allocations: 64 kB / 387.7 MB, free: 8.43 MB / 362.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 0.0001542/0.0256, allocations: 95.19 kB / 387.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.02588, allocations: 119.7 kB / 387.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02588, allocations: 0 / 387.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.02594, allocations: 56.45 kB / 387.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.02646, allocations: 82.28 kB / 388 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.02819, allocations: 0.7508 MB / 388.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.02829, allocations: 112.5 kB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.02843, allocations: 42.95 kB / 388.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.02859, allocations: 130.2 kB / 389 MB, free: 6.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.02859, allocations: 4 kB / 389 MB, free: 6.977 MB / 362.7 MB Notification: Performance of Templates: time 0.007211/0.0358, allocations: 3.137 MB / 392.2 MB, free: 3.918 MB / 362.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.565637500025332]