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.001243/0.001243, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00139/0.00139, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.1 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.1751/0.1751, allocations: 38.52 MB / 353.2 MB, free: 12.61 MB / 286.1 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.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..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="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.89 kB / 493.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2858, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007161/0.2929, allocations: 5.407 MB / 0.5485 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.299, allocations: 4.032 MB / 0.5524 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.2994, allocations: 22.28 kB / 0.5525 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.3096, allocations: 5.433 MB / 0.5578 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.3107, allocations: 338.4 kB / 0.5581 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.3112, allocations: 215.7 kB / 0.5583 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.3134, allocations: 1.641 MB / 0.5599 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.3141, allocations: 0.53 MB / 0.5604 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004704/0.3146, allocations: 374.7 kB / 0.5608 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.3152, allocations: 446.3 kB / 0.5612 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.3152, allocations: 56 kB / 0.5613 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3154, allocations: 67.98 kB / 0.5613 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.3156, allocations: 255.3 kB / 0.5616 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.316, allocations: 330.4 kB / 0.5619 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009047/0.3169, allocations: 0.8134 MB / 0.5627 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3169, allocations: 0 / 0.5627 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3169, allocations: 4 kB / 0.5627 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3169, allocations: 0 / 0.5627 GB, free: 0.5312 MB / 398.1 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.001578/0.3185, allocations: 0.8104 MB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3185, allocations: 12.03 kB / 0.5635 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.3188, allocations: 76.5 kB / 0.5636 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.3198, allocations: 495.4 kB / 0.564 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.3198, allocations: 40.97 kB / 0.5641 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.3199, allocations: 40 kB / 0.5641 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.3208, allocations: 0.6335 MB / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3209, allocations: 4 kB / 0.5647 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.3209, allocations: 20 kB / 0.5647 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.321, allocations: 44.97 kB / 0.5648 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.3217, allocations: 463.6 kB / 0.5652 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.3248, allocations: 2.434 MB / 0.5676 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.3252, allocations: 269.1 kB / 0.5679 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3254, allocations: 121.7 kB / 0.568 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3254, allocations: 8 kB / 0.568 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3255, allocations: 38.56 kB / 0.568 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/0.3255, allocations: 0 / 0.568 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002707/0.3282, allocations: 1.259 MB / 0.5693 GB, free: 9.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.3282, allocations: 81.11 kB / 0.5693 GB, free: 9.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.3287, allocations: 413.8 kB / 0.5697 GB, free: 8.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3287, allocations: 33.7 kB / 0.5698 GB, free: 8.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.329, allocations: 308.2 kB / 0.5701 GB, free: 8.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3291, allocations: 115 kB / 0.5702 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3292, allocations: 82.08 kB / 0.5702 GB, free: 8.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3293, allocations: 362.8 kB / 0.5706 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3295, allocations: 128.8 kB / 0.5707 GB, free: 7.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.3299, allocations: 278.3 kB / 0.571 GB, free: 7.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3304, allocations: 449.9 kB / 0.5714 GB, free: 7.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3304, allocations: 4 kB / 0.5714 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00106/0.3315, allocations: 0.5962 MB / 0.572 GB, free: 6.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3315, allocations: 10.81 kB / 0.572 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3315, allocations: 4 kB / 0.572 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.332, allocations: 153.8 kB / 0.5722 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.3323, allocations: 75.91 kB / 0.5722 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.3357, allocations: 3.469 MB / 0.5756 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.336, allocations: 15.98 kB / 0.5756 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.336, allocations: 20 kB / 0.5756 GB, free: 2.516 MB / 414.1 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.000313/0.3363, allocations: 237.7 kB / 0.5759 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.3364, allocations: 51.67 kB / 0.5759 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009501/0.3374, allocations: 0.4998 MB / 0.5764 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3374, allocations: 8 kB / 0.5764 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007133/0.3381, allocations: 410.2 kB / 0.5768 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3381, allocations: 0 / 0.5768 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3396, allocations: 0.9654 MB / 0.5778 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3396, allocations: 0 / 0.5778 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3398, allocations: 36.08 kB / 0.5778 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3401, allocations: 92.83 kB / 0.5779 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3401, allocations: 11.98 kB / 0.5779 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.3422, allocations: 1.921 MB / 0.5798 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3422, allocations: 4.094 kB / 0.5798 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3431, allocations: 0.6431 MB / 0.5804 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3433, allocations: 71.7 kB / 0.5805 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.3433, allocations: 4 kB / 0.5805 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.3435, allocations: 8 kB / 0.5805 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3436, allocations: 27.89 kB / 0.5805 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3436, allocations: 8 kB / 0.5805 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.344, allocations: 303.1 kB / 0.5808 GB, free: 12.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.344, allocations: 0 / 0.5808 GB, free: 12.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005268/0.3445, allocations: 116 kB / 0.5809 GB, free: 12.88 MB / 430.1 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 0.0001342/0.3446, allocations: 119 kB / 0.581 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3456, allocations: 0.5916 MB / 0.5816 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3456, allocations: 0 / 0.5816 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.3461, allocations: 286.7 kB / 0.5819 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.3468, allocations: 121.6 kB / 0.582 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3488, allocations: 1.196 MB / 0.5832 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.3493, allocations: 0.9204 MB / 0.5841 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3494, allocations: 35.42 kB / 0.5841 GB, free: 9.5 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3494, allocations: 4 kB / 0.5841 GB, free: 9.496 MB / 430.1 MB Notification: Performance of Templates: time 0.01371/0.3631, allocations: 10.04 MB / 0.5939 GB, free: 15.46 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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: 8.213788121938705]