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.001131/0.001131, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001211/0.001211, allocations: 166.9 kB / 24.82 MB, free: 9.273 MB / 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2833/0.2833, allocations: 29.41 MB / 291.2 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.172e-06/1.172e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.743e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005212/0.005229, allocations: 5.12 MB / 375.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.008049, allocations: 2.22 MB / 377.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.008341, allocations: 27.81 kB / 377.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.008777, allocations: 162.7 kB / 377.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.009516, allocations: 469.1 kB / 378.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.009907, allocations: 251.3 kB / 378.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.01072, allocations: 0.8872 MB / 379.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.01108, allocations: 401.4 kB / 379.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.01156, allocations: 0.5066 MB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.01186, allocations: 303.1 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.01192, allocations: 52 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.01211, allocations: 143.9 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01224, allocations: 195.4 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.01239, allocations: 211.5 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.01291, allocations: 0.5294 MB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01291, allocations: 4 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01291, allocations: 0 / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.01292, allocations: 0 / 381.5 MB, free: 15.25 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.0009808/0.0139, allocations: 0.945 MB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01394, allocations: 11.98 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.01404, allocations: 100.6 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.01457, allocations: 486.5 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.0146, allocations: 37.12 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.01467, allocations: 47.98 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.01504, allocations: 410.6 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.01506, allocations: 7.938 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.01509, allocations: 20 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.01513, allocations: 24.92 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.0153, allocations: 134.7 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.01693, allocations: 2.121 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.01717, allocations: 188.4 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.01722, allocations: 55.17 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.01725, allocations: 11.72 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.01744, allocations: 154.7 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.01745, allocations: 0 / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008539/0.0183, allocations: 0.5041 MB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.01836, allocations: 136.5 kB / 386.9 MB, free: 9.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.01865, allocations: 438.3 kB / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01867, allocations: 29.7 kB / 387.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.01884, allocations: 367 kB / 387.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.01889, allocations: 91.2 kB / 387.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.01898, allocations: 87.77 kB / 387.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01913, allocations: 0.5234 MB / 388.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.01918, allocations: 36.97 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.01934, allocations: 252.6 kB / 388.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01957, allocations: 304 kB / 389 MB, free: 7.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.01957, allocations: 8 kB / 389 MB, free: 7.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004456/0.02002, allocations: 344.9 kB / 389.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.02004, allocations: 11.98 kB / 389.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.02005, allocations: 4 kB / 389.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.02034, allocations: 87.7 kB / 389.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.02048, allocations: 75.84 kB / 389.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.02182, allocations: 1.984 MB / 391.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.02194, allocations: 15.94 kB / 391.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.02196, allocations: 16 kB / 391.5 MB, free: 4.559 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.0001289/0.02209, allocations: 188.4 kB / 391.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.02214, allocations: 51.72 kB / 391.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.02241, allocations: 197 kB / 391.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.02241, allocations: 4 kB / 392 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.02242, allocations: 11.94 kB / 392 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02243, allocations: 3.984 kB / 392 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.023, allocations: 0.5703 MB / 392.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02301, allocations: 0 / 392.5 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.02314, allocations: 47.91 kB / 392.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.02326, allocations: 39.64 kB / 392.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.02328, allocations: 15.98 kB / 392.6 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000863/0.02414, allocations: 1.807 MB / 394.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02414, allocations: 0 / 394.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.02452, allocations: 418.3 kB / 394.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.0246, allocations: 67.7 kB / 394.9 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.02462, allocations: 11.94 kB / 394.9 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.02472, allocations: 8 kB / 394.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.02477, allocations: 27.75 kB / 395 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.02478, allocations: 8 kB / 395 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.02493, allocations: 267 kB / 395.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02493, allocations: 0 / 395.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.02527, allocations: 127.9 kB / 395.4 MB, free: 0.5117 MB / 362.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.0009725/0.02624, allocations: 451.2 kB / 395.8 MB, free: 232 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.02668, allocations: 371 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02668, allocations: 0 / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.02688, allocations: 265.6 kB / 396.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.02729, allocations: 119 kB / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.02883, allocations: 1.045 MB / 397.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.02892, allocations: 145.1 kB / 397.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.02905, allocations: 51.38 kB / 397.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.02925, allocations: 182 kB / 398 MB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02925, allocations: 0 / 398 MB, free: 13.96 MB / 378.7 MB Notification: Performance of Templates: time 0.009572/0.03882, allocations: 7.146 MB / 405.1 MB, free: 6.938 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","",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.5005067330785096]