Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001461/0.001461, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001578/0.001578, allocations: 161.7 kB / 24.27 MB, free: 172 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.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3468/0.3468, allocations: 29.41 MB / 290.5 MB, free: 2.445 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_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.796e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008343/0.008371, allocations: 5.043 MB / 373.9 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.01248, allocations: 2.005 MB / 375.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.01294, allocations: 23.81 kB / 375.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000681/0.01363, allocations: 146.8 kB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.01499, allocations: 413.3 kB / 376.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.01567, allocations: 215.5 kB / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01683, allocations: 0.7276 MB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.01736, allocations: 340 kB / 377.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.01829, allocations: 442.8 kB / 378.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.01872, allocations: 235.3 kB / 378.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.01881, allocations: 51.98 kB / 378.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.01913, allocations: 127.9 kB / 378.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.01933, allocations: 163.5 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.01958, allocations: 183.5 kB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.02062, allocations: 0.7048 MB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.02063, allocations: 0 / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.02063, allocations: 11.94 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.02064, allocations: 0 / 379.7 MB, free: 0.4922 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00188/0.02252, allocations: 0.7941 MB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.02257, allocations: 19.98 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.02278, allocations: 84.56 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.02374, allocations: 451.2 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.02379, allocations: 33.12 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.02387, allocations: 36 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.02475, allocations: 478.8 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.02477, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.02482, allocations: 16 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.02483, allocations: 12 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.02538, allocations: 282.3 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.02789, allocations: 1.659 MB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.02847, allocations: 239.6 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.02864, allocations: 78.67 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.02868, allocations: 12 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.02903, allocations: 181 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.02903, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002087/0.03112, allocations: 0.8505 MB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.03124, allocations: 140.4 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.03206, allocations: 401.4 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.0321, allocations: 29.95 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.03236, allocations: 280.1 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.03246, allocations: 99.31 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.03259, allocations: 65.7 kB / 385.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.03281, allocations: 350.8 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.033, allocations: 83.95 kB / 386.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.03333, allocations: 241.9 kB / 386.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.03383, allocations: 307.2 kB / 386.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.03383, allocations: 8 kB / 386.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001001/0.03483, allocations: 442 kB / 387.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.03485, allocations: 8 kB / 387.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.03487, allocations: 4 kB / 387.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.03546, allocations: 112.8 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.03571, allocations: 67.91 kB / 387.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.03866, allocations: 1.88 MB / 389.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.03898, allocations: 27.94 kB / 389.3 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.03901, allocations: 12 kB / 389.3 MB, free: 6.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.03931, allocations: 197.8 kB / 389.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.03941, allocations: 55.7 kB / 389.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/0.04013, allocations: 298.1 kB / 389.9 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.04014, allocations: 4 kB / 389.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.04014, allocations: 0 / 389.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.04015, allocations: 7.984 kB / 389.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.04138, allocations: 0.6554 MB / 390.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.04139, allocations: 3.938 kB / 390.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.04164, allocations: 47.92 kB / 390.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.0419, allocations: 60.73 kB / 390.7 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.04192, allocations: 4 kB / 390.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.04355, allocations: 1.413 MB / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.04355, allocations: 8.094 kB / 392.1 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.04466, allocations: 0.4921 MB / 392.6 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.04482, allocations: 63.81 kB / 392.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.04487, allocations: 12 kB / 392.6 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.04512, allocations: 19.92 kB / 392.7 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.0452, allocations: 23.89 kB / 392.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.04523, allocations: 8 kB / 392.7 MB, free: 2.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003871/0.04562, allocations: 275.1 kB / 393 MB, free: 2.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04562, allocations: 0 / 393 MB, free: 2.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006295/0.04625, allocations: 123.9 kB / 393.1 MB, free: 2.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.002011/0.04826, allocations: 475.7 kB / 393.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.04929, allocations: 410.3 kB / 394 MB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.0493, allocations: 0.9375 kB / 394 MB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004743/0.04977, allocations: 242.5 kB / 394.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.05053, allocations: 122.9 kB / 394.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.05267, allocations: 0.9992 MB / 395.3 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.05302, allocations: 255.9 kB / 395.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000238/0.05326, allocations: 63.25 kB / 395.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.05337, allocations: 36.48 kB / 395.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05337, allocations: 0 / 395.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01499/0.06835, allocations: 6.382 MB / 402 MB, free: 9.551 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.016035559005104]