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.001376/0.001376, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.00149/0.00149, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.1829/0.1829, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.88 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006713/0.3, allocations: 4.438 MB / 0.5475 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3026, allocations: 1.398 MB / 0.5489 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.3029, allocations: 21 kB / 0.5489 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.3033, allocations: 109.4 kB / 0.549 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008041/0.3041, allocations: 281.2 kB / 0.5493 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3044, allocations: 112.9 kB / 0.5494 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.3052, allocations: 0.5045 MB / 0.5499 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3055, allocations: 94.59 kB / 0.55 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.3058, allocations: 221 kB / 0.5502 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.3061, allocations: 206 kB / 0.5504 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.3061, allocations: 30.47 kB / 0.5504 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.3062, allocations: 25.44 kB / 0.5504 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3063, allocations: 104.4 kB / 0.5505 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3065, allocations: 145.8 kB / 0.5507 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.307, allocations: 390.9 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.307, allocations: 1.125 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.307, allocations: 0 / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.307, allocations: 0 / 0.551 GB, free: 10.54 MB / 398.1 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.001104/0.3081, allocations: 0.5976 MB / 0.5516 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3081, allocations: 14.58 kB / 0.5516 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.3082, allocations: 43.09 kB / 0.5517 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.3089, allocations: 342 kB / 0.552 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3089, allocations: 22.97 kB / 0.552 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.309, allocations: 25.09 kB / 0.552 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.3095, allocations: 337.6 kB / 0.5524 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3095, allocations: 1.219 kB / 0.5524 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3096, allocations: 16.47 kB / 0.5524 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3096, allocations: 5.75 kB / 0.5524 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.3099, allocations: 202.4 kB / 0.5526 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.3116, allocations: 1.34 MB / 0.5539 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.312, allocations: 182.6 kB / 0.5541 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3122, allocations: 82.31 kB / 0.5541 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3122, allocations: 2.344 kB / 0.5541 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3122, allocations: 41.94 kB / 0.5542 GB, free: 7.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.3122, allocations: 0 / 0.5542 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00113/0.3133, allocations: 0.6257 MB / 0.5548 GB, free: 7.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.3134, allocations: 139.5 kB / 0.5549 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.3138, allocations: 285.6 kB / 0.5552 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3138, allocations: 26.08 kB / 0.5552 GB, free: 7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3139, allocations: 229.2 kB / 0.5554 GB, free: 6.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.314, allocations: 67.11 kB / 0.5555 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.3141, allocations: 48.02 kB / 0.5555 GB, free: 6.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3143, allocations: 342.5 kB / 0.5559 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3144, allocations: 46.52 kB / 0.5559 GB, free: 6.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3145, allocations: 156.3 kB / 0.5561 GB, free: 6.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.3149, allocations: 227.9 kB / 0.5563 GB, free: 5.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3149, allocations: 5.031 kB / 0.5563 GB, free: 5.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000399/0.3153, allocations: 253.8 kB / 0.5565 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3153, allocations: 6 kB / 0.5565 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3153, allocations: 3.438 kB / 0.5565 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3153, allocations: 8.609 kB / 0.5565 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.3157, allocations: 79.78 kB / 0.5566 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/0.3167, allocations: 1.255 MB / 0.5578 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3168, allocations: 8.469 kB / 0.5579 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3168, allocations: 14.38 kB / 0.5579 GB, free: 4.516 MB / 398.1 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.0001943/0.317, allocations: 159.9 kB / 0.558 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.3171, allocations: 34.53 kB / 0.5581 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.3175, allocations: 188.5 kB / 0.5582 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3175, allocations: 5.75 kB / 0.5582 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3175, allocations: 0 / 0.5582 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3175, allocations: 0 / 0.5582 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.3183, allocations: 468.9 kB / 0.5587 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3183, allocations: 0 / 0.5587 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3185, allocations: 43.92 kB / 0.5587 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3185, allocations: 4 kB / 0.5587 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3185, allocations: 0 / 0.5587 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3185, allocations: 12.02 kB / 0.5587 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3185, allocations: 0 / 0.5587 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.3191, allocations: 496.5 kB / 0.5592 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3191, allocations: 35.78 kB / 0.5593 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3192, allocations: 0 / 0.5593 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3194, allocations: 12 kB / 0.5593 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.3194, allocations: 11.97 kB / 0.5593 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3194, allocations: 12 kB / 0.5593 GB, free: 3.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3196, allocations: 191.1 kB / 0.5595 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3196, allocations: 0 / 0.5595 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.3201, allocations: 67.94 kB / 0.5595 GB, free: 2.84 MB / 398.1 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.0001077/0.3202, allocations: 99.23 kB / 0.5596 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.3206, allocations: 159.7 kB / 0.5598 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3206, allocations: 0.875 kB / 0.5598 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.3207, allocations: 63.98 kB / 0.5598 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.3214, allocations: 91.52 kB / 0.5599 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.323, allocations: 0.8569 MB / 0.5608 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3232, allocations: 205.1 kB / 0.561 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3233, allocations: 27.38 kB / 0.561 GB, free: 1.281 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3233, allocations: 0 / 0.561 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Templates: time 0.007514/0.3308, allocations: 4.676 MB / 0.5656 GB, free: 12.61 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.055264628026634]