Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.0007846/0.0007846, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001785, 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.0007535/0.0007535, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000891/0.001645, 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.9738/0.9738, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07888/1.053, 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.1318/0.1318, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.128/0.2598, allocations: 9.531 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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.825e-05, allocations: 4.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004835/0.004853, allocations: 5.256 MB / 289.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.009417, allocations: 3.853 MB / 293.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.00972, allocations: 22.81 kB / 293.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006546/0.01627, allocations: 5.041 MB / 298.4 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.01682, allocations: 342 kB / 298.7 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.01722, allocations: 227.5 kB / 299 MB, free: 60 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.01872, allocations: 1.618 MB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.01924, allocations: 0.5212 MB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.01977, allocations: 0.5504 MB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.02017, allocations: 378.9 kB / 302 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.02022, allocations: 52 kB / 302.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.02036, allocations: 83.86 kB / 302.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.02053, allocations: 239.4 kB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.02069, allocations: 183.6 kB / 302.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.02122, allocations: 486.3 kB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.02124, allocations: 0 / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02124, allocations: 0 / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.02126, allocations: 0 / 303 MB, free: 11.96 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001154/0.02241, allocations: 0.8985 MB / 303.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.02245, allocations: 8.031 kB / 304 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.02272, allocations: 165.9 kB / 304.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.0233, allocations: 424.5 kB / 304.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.02332, allocations: 33.38 kB / 304.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.02337, allocations: 47.92 kB / 304.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.02378, allocations: 403.6 kB / 305 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.0238, allocations: 0 / 305 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.02383, allocations: 27.97 kB / 305 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/0.02391, allocations: 48.97 kB / 305.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.0241, allocations: 146.7 kB / 305.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.02562, allocations: 1.844 MB / 307.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.0258, allocations: 147.8 kB / 307.2 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.02587, allocations: 45.77 kB / 307.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.02589, allocations: 11.94 kB / 307.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.02591, allocations: 34.56 kB / 307.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.02591, allocations: 4 kB / 307.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001192/0.0271, allocations: 0.6854 MB / 308 MB, free: 6.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.02714, allocations: 85.23 kB / 308.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.02733, allocations: 327.2 kB / 308.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.02735, allocations: 29.7 kB / 308.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.02745, allocations: 273 kB / 308.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.02752, allocations: 126.9 kB / 308.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.02761, allocations: 82.11 kB / 308.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.0277, allocations: 350.7 kB / 309.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.02775, allocations: 44.97 kB / 309.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.02787, allocations: 182.9 kB / 309.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.02807, allocations: 272.7 kB / 309.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02807, allocations: 4 kB / 309.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003744/0.02845, allocations: 341.4 kB / 310.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.02846, allocations: 8.531 kB / 310.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02847, allocations: 4 kB / 310.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.0287, allocations: 112.4 kB / 310.2 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.02888, allocations: 87.89 kB / 310.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.03036, allocations: 2.683 MB / 313 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.03048, allocations: 16 kB / 313 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.03049, allocations: 16 kB / 313 MB, free: 1.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.0306, allocations: 136.6 kB / 313.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.03064, allocations: 35.91 kB / 313.2 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.031, allocations: 282.5 kB / 313.4 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.031, allocations: 4 kB / 313.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002401/0.03124, allocations: 214.8 kB / 313.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.03125, allocations: 8 kB / 313.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.03182, allocations: 0.5821 MB / 314.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03182, allocations: 48 / 314.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.03193, allocations: 43.92 kB / 314.3 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.03199, allocations: 55.62 kB / 314.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.03213, allocations: 75.88 kB / 314.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.03214, allocations: 8 kB / 314.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008371/0.03298, allocations: 1.439 MB / 315.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.03298, allocations: 0 / 315.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.03335, allocations: 424.8 kB / 316.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.03338, allocations: 11.94 kB / 316.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.03345, allocations: 0 / 316.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.03349, allocations: 23.95 kB / 316.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.0335, allocations: 16.06 kB / 316.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.48e-05/0.03359, allocations: 136.7 kB / 316.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03359, allocations: 0 / 316.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.03388, allocations: 120 kB / 316.6 MB, free: 13.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.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 (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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.502e-05/0.03397, allocations: 84.36 kB / 316.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.0344, allocations: 475 kB / 317.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.03442, allocations: 12 kB / 317.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.0346, allocations: 246.2 kB / 317.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.03496, allocations: 142.2 kB / 317.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.04201, allocations: 1.002 MB / 318.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.04213, allocations: 172.9 kB / 318.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.04226, allocations: 55.39 kB / 318.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.04239, allocations: 119.3 kB / 318.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04239, allocations: 0 / 318.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of Templates: time 0.007796/0.05019, allocations: 5.636 MB / 324.5 MB, free: 5.613 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.927048694342375]