Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 187.8 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2494/0.2494, allocations: 38.54 MB / 346.3 MB, free: 2.133 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 63.91 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4154, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.00673/0.4222, allocations: 5.877 MB / 0.5388 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.4256, allocations: 2.148 MB / 0.5409 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.4261, allocations: 22.22 kB / 0.5409 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.4267, allocations: 169.2 kB / 0.5411 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.4279, allocations: 424.4 kB / 0.5415 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.4286, allocations: 249.5 kB / 0.5417 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.4298, allocations: 0.8481 MB / 0.5425 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/0.4303, allocations: 374.2 kB / 0.5429 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.4309, allocations: 370 kB / 0.5432 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.4314, allocations: 359.8 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.4315, allocations: 57.28 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.4317, allocations: 100.8 kB / 0.5437 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.432, allocations: 183.7 kB / 0.5439 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.4323, allocations: 304.2 kB / 0.5442 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.4333, allocations: 0.7466 MB / 0.5449 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4333, allocations: 0 / 0.5449 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4333, allocations: 0 / 0.5449 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4333, allocations: 1.75 kB / 0.5449 GB, free: 12.82 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001733/0.435, allocations: 0.8357 MB / 0.5457 GB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4351, allocations: 9.25 kB / 0.5458 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4352, allocations: 66.67 kB / 0.5458 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009159/0.4361, allocations: 470.4 kB / 0.5463 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.4362, allocations: 38.02 kB / 0.5463 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4363, allocations: 45.55 kB / 0.5463 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.4372, allocations: 0.5225 MB / 0.5469 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4372, allocations: 1.125 kB / 0.5469 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.4373, allocations: 16.38 kB / 0.5469 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-05/0.4373, allocations: 20.3 kB / 0.5469 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.4379, allocations: 333.5 kB / 0.5472 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.4407, allocations: 1.99 MB / 0.5491 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.4411, allocations: 230.1 kB / 0.5494 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.4413, allocations: 80.14 kB / 0.5494 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4413, allocations: 3.5 kB / 0.5494 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.4416, allocations: 166.7 kB / 0.5496 GB, free: 9.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.774e-06/0.4416, allocations: 0 / 0.5496 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001808/0.4434, allocations: 0.8634 MB / 0.5505 GB, free: 8.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.4435, allocations: 135.9 kB / 0.5506 GB, free: 8.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.4441, allocations: 438.2 kB / 0.551 GB, free: 8.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.4441, allocations: 34.98 kB / 0.551 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.4444, allocations: 303.6 kB / 0.5513 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.4444, allocations: 89.94 kB / 0.5514 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4446, allocations: 78.89 kB / 0.5515 GB, free: 7.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4447, allocations: 352.9 kB / 0.5518 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4449, allocations: 84.98 kB / 0.5519 GB, free: 7.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.4452, allocations: 221.8 kB / 0.5521 GB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.4456, allocations: 334.8 kB / 0.5524 GB, free: 6.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4456, allocations: 1.188 kB / 0.5524 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009339/0.4466, allocations: 442.3 kB / 0.5529 GB, free: 6.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4466, allocations: 7.281 kB / 0.5529 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4466, allocations: 4.625 kB / 0.5529 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.447, allocations: 90.8 kB / 0.553 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4473, allocations: 76.16 kB / 0.553 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.4498, allocations: 1.728 MB / 0.5547 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.4503, allocations: 19.52 kB / 0.5547 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.4503, allocations: 21.56 kB / 0.5548 GB, free: 4.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.4508, allocations: 207.2 kB / 0.5549 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4509, allocations: 48.19 kB / 0.555 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.4516, allocations: 280.6 kB / 0.5553 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4516, allocations: 3.156 kB / 0.5553 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4516, allocations: 2.125 kB / 0.5553 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.4516, allocations: 5.047 kB / 0.5553 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4532, allocations: 0.7554 MB / 0.556 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4532, allocations: 0 / 0.556 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.4535, allocations: 52.09 kB / 0.5561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.4537, allocations: 46.97 kB / 0.5561 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.4538, allocations: 14.27 kB / 0.5561 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.4554, allocations: 1.434 MB / 0.5575 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4554, allocations: 0 / 0.5575 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.4563, allocations: 473.6 kB / 0.558 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4565, allocations: 55.81 kB / 0.558 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.4566, allocations: 19.88 kB / 0.558 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.4568, allocations: 15.98 kB / 0.5581 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.4569, allocations: 19.95 kB / 0.5581 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4569, allocations: 12.12 kB / 0.5581 GB, free: 1.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005616/0.4575, allocations: 299.1 kB / 0.5584 GB, free: 1.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4575, allocations: 0 / 0.5584 GB, free: 1.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006872/0.4582, allocations: 116 kB / 0.5585 GB, free: 1.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.4598, allocations: 405.3 kB / 0.5589 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.4609, allocations: 379 kB / 0.5592 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.4609, allocations: 4.375 kB / 0.5592 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.4613, allocations: 226.5 kB / 0.5595 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.4622, allocations: 138.1 kB / 0.5596 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.4651, allocations: 1.206 MB / 0.5608 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.4658, allocations: 0.8777 MB / 0.5616 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.4661, allocations: 72.22 kB / 0.5617 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4662, allocations: 35.38 kB / 0.5617 GB, free: 13.97 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4662, allocations: 0 / 0.5617 GB, free: 13.97 MB / 414.1 MB Notification: Performance of Templates: time 0.0165/0.4827, allocations: 6.817 MB / 0.5684 GB, free: 7.238 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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: 5.500584917142987]