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.0007096/0.0007096, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000971/0.001681, 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.0007078/0.0007078, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008758/0.001584, 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.926/0.926, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08552/1.012, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1454/0.1454, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1239/0.2693, allocations: 9.526 MB / 283 MB, free: 12.85 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.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.706e-05, allocations: 2.312 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.00675/0.006767, allocations: 5.018 MB / 289.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.01059, allocations: 2.151 MB / 291.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.01093, allocations: 26.22 kB / 291.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.01141, allocations: 139.7 kB / 291.6 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000951/0.01236, allocations: 391.9 kB / 291.9 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.01289, allocations: 223.4 kB / 292.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.01384, allocations: 0.7273 MB / 292.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.01434, allocations: 352.2 kB / 293.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/0.01512, allocations: 476.5 kB / 293.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.01555, allocations: 240.2 kB / 293.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.279e-05/0.01563, allocations: 51.16 kB / 294 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.01595, allocations: 142.7 kB / 294.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01609, allocations: 133.5 kB / 294.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.01632, allocations: 151.2 kB / 294.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006787/0.017, allocations: 464.6 kB / 294.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.708e-05/0.01701, allocations: 0 / 294.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01701, allocations: 0 / 294.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.01704, allocations: 0 / 294.9 MB, free: 4.188 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001522/0.01856, allocations: 0.8742 MB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.01859, allocations: 8.031 kB / 295.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.0187, allocations: 64.89 kB / 295.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.01927, allocations: 381.3 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.01931, allocations: 37.06 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.01936, allocations: 36 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.01977, allocations: 365.6 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.01979, allocations: 0 / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.01982, allocations: 16 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.01983, allocations: 15.94 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.02004, allocations: 115.2 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.02165, allocations: 1.472 MB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.02196, allocations: 206.1 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.02202, allocations: 42.62 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.02206, allocations: 4 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.02227, allocations: 147.7 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.02227, allocations: 0 / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001017/0.02329, allocations: 472.1 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.02334, allocations: 106.8 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.02367, allocations: 364.8 kB / 299.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.02369, allocations: 29.7 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.02381, allocations: 237 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.02388, allocations: 95.2 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/0.02397, allocations: 77.77 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.02409, allocations: 354.7 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.02416, allocations: 30.81 kB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.02457, allocations: 194.6 kB / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.02481, allocations: 233.3 kB / 300.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02481, allocations: 0 / 300.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004534/0.02527, allocations: 283.4 kB / 301 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.02528, allocations: 12.52 kB / 301 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02529, allocations: 8 kB / 301 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.02559, allocations: 83.61 kB / 301.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.02581, allocations: 80.78 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.02729, allocations: 1.684 MB / 302.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.02746, allocations: 19.94 kB / 302.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.02748, allocations: 12 kB / 302.9 MB, free: 11.55 MB / 298.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.0001196/0.0276, allocations: 144.6 kB / 303.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.02765, allocations: 31.97 kB / 303.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.02795, allocations: 188.9 kB / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.02796, allocations: 7.984 kB / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02796, allocations: 0 / 303.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.02797, allocations: 4 kB / 303.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.02854, allocations: 474.4 kB / 303.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.02854, allocations: 3.938 kB / 303.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.02875, allocations: 55.97 kB / 303.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.02883, allocations: 43.64 kB / 303.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.02897, allocations: 47.64 kB / 303.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.02899, allocations: 7.984 kB / 303.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007978/0.02979, allocations: 1.246 MB / 305.2 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02979, allocations: 32 / 305.2 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.03019, allocations: 379.1 kB / 305.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.03023, allocations: 4 kB / 305.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.03037, allocations: 15.98 kB / 305.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.03042, allocations: 23.95 kB / 305.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.03044, allocations: 4 kB / 305.6 MB, free: 8.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.0306, allocations: 147.5 kB / 305.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0306, allocations: 0 / 305.7 MB, free: 8.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004964/0.0311, allocations: 123.9 kB / 305.8 MB, free: 8.457 MB / 298.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.001683/0.03278, allocations: 0.6187 MB / 306.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.03327, allocations: 320.5 kB / 306.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.03328, allocations: 8 kB / 306.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.03351, allocations: 214.5 kB / 307 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.034, allocations: 151.2 kB / 307.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.04406, allocations: 0.9498 MB / 308.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.04419, allocations: 133.2 kB / 308.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.04445, allocations: 59.19 kB / 308.3 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.04469, allocations: 137.3 kB / 308.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.04469, allocations: 0 / 308.4 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Templates: time 0.01294/0.05763, allocations: 7.243 MB / 315.6 MB, free: 15.04 MB / 314.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 -ignoreHideResult -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: 2.901157746091485]