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.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.00193/0.00193, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001927/0.001927, allocations: 169.3 kB / 24.27 MB, free: 156 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3197/0.3197, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.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 1.132e-06/1.132e-06, allocations: 0 / 368.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.495e-05, allocations: 6.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008551/0.008576, allocations: 5.78 MB / 374.7 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.01281, allocations: 2.231 MB / 376.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.01308, allocations: 23.81 kB / 376.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.01369, allocations: 170.7 kB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.01477, allocations: 481 kB / 377.5 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.01535, allocations: 247.4 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.01658, allocations: 0.8795 MB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.01715, allocations: 409.2 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000763/0.01791, allocations: 0.4948 MB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.01846, allocations: 307.1 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.01856, allocations: 56 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.01889, allocations: 147.8 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.01915, allocations: 195.4 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.01944, allocations: 211.5 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.02056, allocations: 0.7944 MB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02056, allocations: 0 / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02056, allocations: 0 / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.02057, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 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.001836/0.02241, allocations: 0.9994 MB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.02245, allocations: 15.98 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.02263, allocations: 92.56 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.02384, allocations: 497.9 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.02388, allocations: 33.12 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.024, allocations: 48 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.02489, allocations: 0.5254 MB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.02491, allocations: 3.953 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.02496, allocations: 20 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.02504, allocations: 13 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.02554, allocations: 243.7 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.0287, allocations: 2.403 MB / 386.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.02919, allocations: 245.1 kB / 386.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.02934, allocations: 75.17 kB / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.02938, allocations: 11.98 kB / 386.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.02968, allocations: 182.5 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.182e-06/0.02968, allocations: 0 / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001783/0.03147, allocations: 0.8568 MB / 387.5 MB, free: 8.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.03157, allocations: 140.5 kB / 387.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.03224, allocations: 0.5298 MB / 388.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.03227, allocations: 33.95 kB / 388.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.03259, allocations: 379.1 kB / 388.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.0327, allocations: 103.2 kB / 388.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.03285, allocations: 95.8 kB / 388.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003368/0.03319, allocations: 0.547 MB / 389.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.03335, allocations: 76.97 kB / 389.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.03395, allocations: 311 kB / 389.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.03448, allocations: 394.7 kB / 390.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.03448, allocations: 0 / 390.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009248/0.03541, allocations: 440.8 kB / 390.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.03543, allocations: 11.98 kB / 390.5 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.03544, allocations: 4 kB / 390.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.03598, allocations: 111.8 kB / 390.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.03624, allocations: 79.83 kB / 390.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.03881, allocations: 2.189 MB / 392.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.03906, allocations: 23.88 kB / 392.9 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.03909, allocations: 16 kB / 392.9 MB, free: 2.508 MB / 362.7 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.0002603/0.03936, allocations: 224.4 kB / 393.1 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.03945, allocations: 55.7 kB / 393.2 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.04007, allocations: 275.9 kB / 393.5 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.04007, allocations: 8 kB / 393.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.04008, allocations: 0 / 393.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.04008, allocations: 0 / 393.5 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.04145, allocations: 0.8014 MB / 394.3 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04145, allocations: 4 kB / 394.3 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.04173, allocations: 47.92 kB / 394.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.04196, allocations: 51.62 kB / 394.4 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.04198, allocations: 8 kB / 394.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.04379, allocations: 1.928 MB / 396.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.04379, allocations: 0 / 396.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.04484, allocations: 0.5101 MB / 396.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.04498, allocations: 59.91 kB / 396.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.04503, allocations: 4 kB / 396.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.04522, allocations: 8 kB / 396.9 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.0453, allocations: 27.94 kB / 396.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.04532, allocations: 4 kB / 396.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004127/0.04573, allocations: 343 kB / 397.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04573, allocations: 0 / 397.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005214/0.04625, allocations: 131.9 kB / 397.4 MB, free: 13.81 MB / 378.7 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.002902/0.04915, allocations: 486.8 kB / 397.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.05007, allocations: 466.5 kB / 398.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.05007, allocations: 0 / 398.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.05053, allocations: 297.4 kB / 398.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.05124, allocations: 133.9 kB / 398.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.05319, allocations: 1.059 MB / 399.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.05351, allocations: 277.7 kB / 400.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.05372, allocations: 55.38 kB / 400.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.05381, allocations: 36.48 kB / 400.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05381, allocations: 0 / 400.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01516/0.06897, allocations: 6.605 MB / 406.8 MB, free: 4.629 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] 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.038322670967318]