Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.00114/0.00114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002825, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001122/0.001122, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.00258, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9629/0.9629, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09276/1.056, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1177/0.1177, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1295/0.2472, allocations: 9.528 MB / 283 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.361e-05, allocations: 3.469 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.007693/0.007717, allocations: 4.652 MB / 288.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.01052, allocations: 1.494 MB / 290.4 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.01083, allocations: 22.81 kB / 290.4 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.01117, allocations: 103.8 kB / 290.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.01187, allocations: 274.3 kB / 290.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.01225, allocations: 144.2 kB / 290.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007817/0.01303, allocations: 0.5933 MB / 291.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.01351, allocations: 307 kB / 291.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.01417, allocations: 364 kB / 292.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006529/0.01482, allocations: 204 kB / 292.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.01489, allocations: 39.31 kB / 292.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.01497, allocations: 39.94 kB / 292.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.0151, allocations: 109.6 kB / 292.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.01528, allocations: 130.1 kB / 292.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.01573, allocations: 304.9 kB / 293 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.01574, allocations: 1.531 kB / 293 MB, free: 5.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01574, allocations: 0 / 293 MB, free: 5.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.01576, allocations: 0 / 293 MB, free: 5.598 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001106/0.01687, allocations: 0.7093 MB / 293.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.0169, allocations: 9.188 kB / 293.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.01725, allocations: 56.02 kB / 293.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.01777, allocations: 316.9 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.01786, allocations: 81.28 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.01792, allocations: 43.23 kB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.01834, allocations: 327.6 kB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01836, allocations: 7.891 kB / 294.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.01839, allocations: 12 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.0184, allocations: 12 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.0186, allocations: 104.4 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.02015, allocations: 1.465 MB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.02035, allocations: 171 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.02041, allocations: 43.89 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.02043, allocations: 8 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.02046, allocations: 30.56 kB / 296.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.014e-06/0.02046, allocations: 0 / 296.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007093/0.02117, allocations: 355.2 kB / 296.7 MB, free: 2.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.02122, allocations: 110.8 kB / 296.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.02144, allocations: 278.7 kB / 297.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.02146, allocations: 33.7 kB / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.02157, allocations: 220.5 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.02162, allocations: 75.31 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.0217, allocations: 65.95 kB / 297.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02181, allocations: 354.6 kB / 297.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.02186, allocations: 24.89 kB / 297.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.022, allocations: 162.2 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.02221, allocations: 214.8 kB / 298.2 MB, free: 416 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02221, allocations: 0 / 298.2 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002874/0.0225, allocations: 213.6 kB / 298.4 MB, free: 196 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.02252, allocations: 8 kB / 298.4 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02253, allocations: 4 kB / 298.4 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.02254, allocations: 4 kB / 298.4 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.02281, allocations: 88.39 kB / 298.5 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.02282, allocations: 12 kB / 298.5 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.02296, allocations: 20 kB / 298.5 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.02298, allocations: 11.98 kB / 298.5 MB, free: 48 kB / 282.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.02311, allocations: 136.5 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.02317, allocations: 19.98 kB / 298.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.02336, allocations: 133.5 kB / 298.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.02337, allocations: 4 kB / 298.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02337, allocations: 0 / 298.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.02338, allocations: 3.984 kB / 298.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.02391, allocations: 440.9 kB / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02391, allocations: 0 / 299.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.02411, allocations: 51.91 kB / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.02415, allocations: 27.81 kB / 299.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02415, allocations: 0 / 299.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.02417, allocations: 8 kB / 299.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.02417, allocations: 4 kB / 299.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.02418, allocations: 0 / 299.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.02449, allocations: 435.2 kB / 299.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.02453, allocations: 3.984 kB / 299.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.02467, allocations: 8 kB / 299.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.02471, allocations: 19.83 kB / 299.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.02473, allocations: 11.92 kB / 299.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.02483, allocations: 96.62 kB / 299.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02483, allocations: 0 / 299.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.0252, allocations: 68 kB / 300 MB, free: 14.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.477e-05/0.0253, allocations: 84.36 kB / 300.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.0255, allocations: 133.5 kB / 300.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.02551, allocations: 4 kB / 300.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.0256, allocations: 62.42 kB / 300.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.0261, allocations: 108 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.03613, allocations: 0.7504 MB / 301.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.03622, allocations: 108.6 kB / 301.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.03638, allocations: 43 kB / 301.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.03656, allocations: 115.3 kB / 301.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03656, allocations: 4 kB / 301.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.007423/0.04398, allocations: 3.385 MB / 304.8 MB, free: 9.762 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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: 2.80457108002156]