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.00201/0.00201, 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.002946/0.002946, allocations: 161.7 kB / 24.26 MB, free: 176 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.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.332/0.332, allocations: 29.42 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 6.562e-06/6.562e-06, allocations: 4 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.934e-05, allocations: 5.266 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.01252/0.01256, allocations: 5.496 MB / 374.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005962/0.01852, allocations: 2.146 MB / 376.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006148/0.01914, allocations: 27.75 kB / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008657/0.02, allocations: 162.7 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.02186, allocations: 481 kB / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.02282, allocations: 255.3 kB / 377.4 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.02463, allocations: 0.8717 MB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.02545, allocations: 401.3 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.02664, allocations: 0.4986 MB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.02734, allocations: 287.2 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.02747, allocations: 56 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.02789, allocations: 143.8 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.02821, allocations: 191.4 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.0286, allocations: 211.5 kB / 380.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.03017, allocations: 0.7943 MB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.03018, allocations: 4 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03018, allocations: 4 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.03019, allocations: 0 / 380.9 MB, free: 15.26 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.002535/0.03272, allocations: 0.8452 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.03278, allocations: 19.98 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.03306, allocations: 96.55 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.03446, allocations: 491 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.03452, allocations: 37.12 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.03471, allocations: 47.98 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.03606, allocations: 0.5424 MB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.0361, allocations: 11.95 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.03617, allocations: 16 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.03627, allocations: 17 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.03719, allocations: 335.7 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.04125, allocations: 1.839 MB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.04193, allocations: 215.7 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.04216, allocations: 82.67 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.04219, allocations: 4 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.04262, allocations: 168.7 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.04262, allocations: 0 / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002164/0.04479, allocations: 0.8696 MB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.04489, allocations: 136.5 kB / 386.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.04545, allocations: 422.1 kB / 387 MB, free: 8.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.04548, allocations: 25.7 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.04575, allocations: 312.1 kB / 387.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.04585, allocations: 95.44 kB / 387.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.04598, allocations: 74.16 kB / 387.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.04619, allocations: 350.8 kB / 387.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.04636, allocations: 84.97 kB / 387.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.04671, allocations: 258.8 kB / 388.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.04721, allocations: 328 kB / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.04721, allocations: 0 / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009791/0.04819, allocations: 465.8 kB / 389 MB, free: 6.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.04821, allocations: 8 kB / 389 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.04823, allocations: 4 kB / 389 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.04878, allocations: 109 kB / 389.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.04905, allocations: 71.91 kB / 389.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.05148, allocations: 1.698 MB / 390.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.05176, allocations: 19.94 kB / 390.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.0518, allocations: 16 kB / 390.9 MB, free: 4.648 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.0003157/0.05212, allocations: 209.7 kB / 391.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.05222, allocations: 51.72 kB / 391.1 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.05287, allocations: 296.7 kB / 391.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.05287, allocations: 4 kB / 391.4 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.05288, allocations: 3.984 kB / 391.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.05288, allocations: 0 / 391.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.05412, allocations: 0.6587 MB / 392.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.05413, allocations: 0 / 392.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.0544, allocations: 43.92 kB / 392.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.05464, allocations: 56.8 kB / 392.2 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.05467, allocations: 8 kB / 392.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.05642, allocations: 1.417 MB / 393.6 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.05642, allocations: 0 / 393.6 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.05754, allocations: 485.6 kB / 394.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.05772, allocations: 51.75 kB / 394.2 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.05779, allocations: 8.125 kB / 394.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.0581, allocations: 19.98 kB / 394.2 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.05819, allocations: 23.91 kB / 394.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.05822, allocations: 7.984 kB / 394.2 MB, free: 1.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005177/0.05874, allocations: 283.2 kB / 394.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05874, allocations: 0 / 394.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008893/0.05963, allocations: 135.9 kB / 394.6 MB, free: 0.7383 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.002373/0.062, allocations: 486.9 kB / 395.1 MB, free: 456 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009559/0.06296, allocations: 390.4 kB / 395.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.06296, allocations: 0 / 395.5 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.0634, allocations: 230.5 kB / 395.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.06416, allocations: 137.5 kB / 395.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.06625, allocations: 1.064 MB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.0666, allocations: 281.6 kB / 397.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.06682, allocations: 59.36 kB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.06691, allocations: 36.48 kB / 397.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.06691, allocations: 0 / 397.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01463/0.08155, allocations: 6.55 MB / 403.8 MB, free: 7.746 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=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.09161760401912]