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.001495/0.001495, 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.001951/0.001951, allocations: 161 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.044/1.044, allocations: 177.1 MB / 205 MB, free: 5.629 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.2417/0.2417, allocations: 29.41 MB / 290.9 MB, free: 2.492 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.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.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.006e-05, allocations: 6.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004352/0.004372, allocations: 4.402 MB / 374.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.005848, allocations: 1.476 MB / 375.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.006025, allocations: 19.81 kB / 375.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.006401, allocations: 111.1 kB / 375.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.006817, allocations: 278.1 kB / 375.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.007029, allocations: 111.8 kB / 376 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.007616, allocations: 0.5212 MB / 376.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.007798, allocations: 104.4 kB / 376.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.008078, allocations: 283.2 kB / 376.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.008298, allocations: 179.5 kB / 377.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.008334, allocations: 32 kB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.008374, allocations: 24 kB / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.008462, allocations: 111.6 kB / 377.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.008572, allocations: 119.7 kB / 377.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.008855, allocations: 266.9 kB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.008857, allocations: 4 kB / 377.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008858, allocations: 0 / 377.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.008863, allocations: 0 / 377.7 MB, free: 2.934 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.0007208/0.009584, allocations: 0.6916 MB / 378.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.009622, allocations: 15.98 kB / 378.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.009704, allocations: 60.7 kB / 378.4 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.01013, allocations: 359.5 kB / 378.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.01014, allocations: 20.97 kB / 378.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.01019, allocations: 32.38 kB / 378.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.01049, allocations: 287.8 kB / 379.1 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01051, allocations: 7.922 kB / 379.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.01053, allocations: 16 kB / 379.1 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01054, allocations: 8 kB / 379.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.01071, allocations: 110.8 kB / 379.2 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01181, allocations: 1.746 MB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.01209, allocations: 192.3 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.01216, allocations: 62.8 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.01218, allocations: 4 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.01221, allocations: 49.31 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.01221, allocations: 0 / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007034/0.01291, allocations: 0.5466 MB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.01297, allocations: 140.5 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.01317, allocations: 334.6 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01318, allocations: 29.7 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.0133, allocations: 275.1 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.01333, allocations: 67.42 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.01339, allocations: 55.36 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01351, allocations: 0.5117 MB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.01356, allocations: 31.97 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.01366, allocations: 175.2 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.01383, allocations: 225.8 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01383, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002226/0.01405, allocations: 221.1 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01407, allocations: 4 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01407, allocations: 4 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01409, allocations: 8 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.01429, allocations: 80.33 kB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/0.01501, allocations: 1.801 MB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.0151, allocations: 11.94 kB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01511, allocations: 8 kB / 385.8 MB, free: 10.15 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 9.525e-05/0.01521, allocations: 184.5 kB / 386 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.01526, allocations: 43.75 kB / 386 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.01545, allocations: 152.1 kB / 386.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01545, allocations: 4 kB / 386.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01545, allocations: 0 / 386.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01545, allocations: 4 kB / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.0159, allocations: 481.3 kB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0159, allocations: 3.938 kB / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01603, allocations: 43.92 kB / 386.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01603, allocations: 4.031 kB / 386.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.01605, allocations: 11.98 kB / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01605, allocations: 0 / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01605, allocations: 4 kB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.01633, allocations: 0.5694 MB / 387.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.01636, allocations: 31.7 kB / 387.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01637, allocations: 4 kB / 387.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.01647, allocations: 4 kB / 387.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.0165, allocations: 20 kB / 387.3 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01651, allocations: 4 kB / 387.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.01662, allocations: 223 kB / 387.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 387.6 MB, free: 8.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.01688, allocations: 64 kB / 387.6 MB, free: 8.246 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 8.431e-05/0.01697, allocations: 103.2 kB / 387.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.01719, allocations: 128.4 kB / 387.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01719, allocations: 128 / 387.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.01726, allocations: 63.59 kB / 387.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.01769, allocations: 81.92 kB / 388 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.01906, allocations: 0.751 MB / 388.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.01913, allocations: 112.5 kB / 388.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.01924, allocations: 50.94 kB / 388.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.01929, allocations: 28.48 kB / 388.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01929, allocations: 0 / 388.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of Templates: time 0.005106/0.0244, allocations: 2.907 MB / 391.8 MB, free: 4.035 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.2131284633651376]