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.000827/0.000827, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002476, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007523/0.0007523, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001769, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9864/0.9864, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.129/0.129, allocations: 29.44 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1349/0.2639, allocations: 9.535 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.332e-06/1.332e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.022e-05, allocations: 4.266 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005242/0.005262, allocations: 4.491 MB / 288.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.007268, allocations: 1.508 MB / 290.4 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.007499, allocations: 21.44 kB / 290.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.00781, allocations: 110.5 kB / 290.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.008385, allocations: 279.7 kB / 290.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.00865, allocations: 113.6 kB / 291 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.009321, allocations: 0.5156 MB / 291.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.009509, allocations: 106.5 kB / 291.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.00998, allocations: 316.7 kB / 291.9 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.01023, allocations: 170.4 kB / 292.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.01027, allocations: 26.34 kB / 292.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.01033, allocations: 25.34 kB / 292.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.683e-05/0.01042, allocations: 95.33 kB / 292.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.01052, allocations: 99.81 kB / 292.3 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.01084, allocations: 251.4 kB / 292.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.01085, allocations: 0 / 292.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01085, allocations: 0 / 292.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.01085, allocations: 0 / 292.5 MB, free: 5.934 MB / 282.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.0007267/0.01158, allocations: 0.6415 MB / 293.2 MB, free: 5.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.01161, allocations: 13.41 kB / 293.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.01169, allocations: 49.11 kB / 293.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.01209, allocations: 312.1 kB / 293.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.01211, allocations: 19.31 kB / 293.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.01215, allocations: 43.58 kB / 293.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.01238, allocations: 244.3 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.0124, allocations: 3.984 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.01241, allocations: 12 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01242, allocations: 6.719 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.01252, allocations: 90.22 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.01343, allocations: 1.236 MB / 295.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.01362, allocations: 138.3 kB / 295.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.01367, allocations: 43.98 kB / 295.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01369, allocations: 12 kB / 295.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.01371, allocations: 38.5 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.01371, allocations: 0 / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004954/0.01421, allocations: 337.2 kB / 295.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.01425, allocations: 128.5 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.01439, allocations: 262.9 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01441, allocations: 34.08 kB / 296.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.01448, allocations: 197 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.01451, allocations: 67.42 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.01457, allocations: 53.67 kB / 296.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.01465, allocations: 342.7 kB / 296.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.01468, allocations: 19.98 kB / 296.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.01475, allocations: 128.8 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.01487, allocations: 179.4 kB / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01487, allocations: 4 kB / 297.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001476/0.01502, allocations: 165.3 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01503, allocations: 4 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01504, allocations: 4 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01505, allocations: 4 kB / 297.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.01526, allocations: 96.31 kB / 297.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/0.01576, allocations: 1.2 MB / 298.6 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.01584, allocations: 11.98 kB / 298.6 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.01585, allocations: 12 kB / 298.6 MB, free: 0 / 282.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 9.655e-05/0.01595, allocations: 140.6 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.01599, allocations: 19.98 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.01612, allocations: 126.3 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01612, allocations: 4 kB / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01613, allocations: 7.922 kB / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01613, allocations: 4 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.01647, allocations: 321.4 kB / 299.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01647, allocations: 0 / 299.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.01663, allocations: 51.91 kB / 299.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01665, allocations: 31.83 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.01667, allocations: 7.938 kB / 299.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.01668, allocations: 4 kB / 299.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.01668, allocations: 4 kB / 299.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01668, allocations: 0 / 299.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.0169, allocations: 399.9 kB / 299.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01692, allocations: 11.94 kB / 299.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.01701, allocations: 0 / 299.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.01703, allocations: 23.97 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.01704, allocations: 0 / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.0171, allocations: 104.6 kB / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0171, allocations: 0 / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01734, allocations: 60 kB / 299.9 MB, free: 14.65 MB / 298.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.0001115/0.01745, allocations: 86.48 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.01763, allocations: 112.8 kB / 300.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.01764, allocations: 11.94 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.0177, allocations: 69.03 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.01829, allocations: 0.6623 MB / 300.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.02342, allocations: 0.6997 MB / 301.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.431e-05/0.02352, allocations: 108.6 kB / 301.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.02365, allocations: 46.98 kB / 301.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.0238, allocations: 111.3 kB / 301.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0238, allocations: 0 / 301.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of Templates: time 0.00587/0.02967, allocations: 3.224 MB / 305 MB, free: 9.43 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7825437234714627]