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.001172/0.001172, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001223/0.001223, allocations: 161 kB / 24.56 MB, free: 8 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.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.637 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.2432/0.2432, allocations: 29.43 MB / 290.9 MB, free: 2.52 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_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 2.204e-06/2.204e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.187e-05, allocations: 9.969 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005156/0.005178, allocations: 4.948 MB / 374.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.007858, allocations: 2.095 MB / 376.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003076/0.008166, allocations: 19.81 kB / 376.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.008681, allocations: 146.9 kB / 376.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.009911, allocations: 417.3 kB / 377.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.01046, allocations: 219.4 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009705/0.01143, allocations: 0.7354 MB / 378.2 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.01186, allocations: 340 kB / 378.6 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/0.01242, allocations: 442.9 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.01273, allocations: 243.3 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.01279, allocations: 48 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.01301, allocations: 139.8 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01313, allocations: 155.5 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.01329, allocations: 187.5 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.01387, allocations: 498.2 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01387, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01387, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.01388, allocations: 0 / 380.2 MB, free: 380 kB / 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.001074/0.01495, allocations: 0.894 MB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01499, allocations: 15.98 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.01511, allocations: 88.56 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.01563, allocations: 438.8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.01566, allocations: 33.12 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.01571, allocations: 40 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.01613, allocations: 393.9 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01614, allocations: 4 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.01618, allocations: 19.98 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01619, allocations: 12 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.01641, allocations: 147.7 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.01817, allocations: 2.033 MB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.0185, allocations: 204.4 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.01857, allocations: 63.16 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.0186, allocations: 4 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.01878, allocations: 163.1 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.193e-06/0.01878, allocations: 0 / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001062/0.01984, allocations: 0.725 MB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.01989, allocations: 136.5 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.0202, allocations: 426.5 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.02022, allocations: 33.7 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.02036, allocations: 327 kB / 386.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.02042, allocations: 95.17 kB / 386.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.02049, allocations: 75.3 kB / 386.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.02063, allocations: 0.5235 MB / 387.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.0207, allocations: 39.97 kB / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.02088, allocations: 255.6 kB / 387.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.02113, allocations: 297.9 kB / 387.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02113, allocations: 0 / 387.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004694/0.0216, allocations: 356.5 kB / 388 MB, free: 8.016 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.02162, allocations: 10.66 kB / 388 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.02163, allocations: 4 kB / 388 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.02192, allocations: 100 kB / 388.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.02205, allocations: 67.84 kB / 388.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.02351, allocations: 2.29 MB / 390.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.02364, allocations: 19.98 kB / 390.5 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.02366, allocations: 16.27 kB / 390.5 MB, free: 5.398 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.0001172/0.02378, allocations: 180.5 kB / 390.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.02382, allocations: 51.7 kB / 390.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.02415, allocations: 240.9 kB / 391 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02415, allocations: 4 kB / 391 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02416, allocations: 4 kB / 391 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.02416, allocations: 3.984 kB / 391 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.02502, allocations: 0.6417 MB / 391.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.02502, allocations: 0 / 391.6 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.02516, allocations: 47.91 kB / 391.7 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.02527, allocations: 43.58 kB / 391.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02529, allocations: 8 kB / 391.7 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007791/0.02607, allocations: 1.83 MB / 393.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02607, allocations: 4 kB / 393.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.02647, allocations: 442.5 kB / 394 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.02654, allocations: 59.69 kB / 394 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.02657, allocations: 8 kB / 394 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.02667, allocations: 15.92 kB / 394.1 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.02672, allocations: 23.98 kB / 394.1 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.02674, allocations: 12 kB / 394.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.02692, allocations: 271.1 kB / 394.4 MB, free: 1.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02692, allocations: 0 / 394.4 MB, free: 1.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.02727, allocations: 127.9 kB / 394.5 MB, free: 1.18 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.0008932/0.02817, allocations: 445.5 kB / 394.9 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.02871, allocations: 405 kB / 395.3 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02871, allocations: 0.9375 kB / 395.3 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.02892, allocations: 281.6 kB / 395.6 MB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.02931, allocations: 114.8 kB / 395.7 MB, free: 76 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.03088, allocations: 0.9693 MB / 396.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.86e-05/0.03097, allocations: 129.2 kB / 396.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.03112, allocations: 59.23 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.03118, allocations: 44.48 kB / 396.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03118, allocations: 0 / 396.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of Templates: time 0.009866/0.04105, allocations: 6.839 MB / 403.7 MB, free: 8.082 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] 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","",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.230873262975365]