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.002029/0.002029, allocations: 108.3 kB / 20.48 MB, free: 1.125 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.002466/0.002466, allocations: 209.5 kB / 23.78 MB, free: 4.324 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.544/1.544, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.1913/0.1913, allocations: 38.56 MB / 352.5 MB, free: 12.25 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.002141/0.002141, allocations: 71.89 kB / 493.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3811, allocations: 62.47 MB / 0.5425 GB, free: 384 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007548/0.3887, allocations: 5.065 MB / 0.5475 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.3952, allocations: 3.644 MB / 0.551 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.3955, allocations: 22.84 kB / 0.5511 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.4065, allocations: 5.346 MB / 0.5563 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.4076, allocations: 330.5 kB / 0.5566 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.4082, allocations: 219.6 kB / 0.5568 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.4106, allocations: 1.633 MB / 0.5584 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.4114, allocations: 0.5184 MB / 0.5589 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.412, allocations: 390.6 kB / 0.5593 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/0.4126, allocations: 414.4 kB / 0.5597 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.4127, allocations: 56 kB / 0.5597 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.4129, allocations: 71.92 kB / 0.5598 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.4132, allocations: 259.3 kB / 0.56 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.4135, allocations: 250.9 kB / 0.5603 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009813/0.4144, allocations: 0.8289 MB / 0.5611 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4144, allocations: 0 / 0.5611 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4145, allocations: 0 / 0.5611 GB, free: 1.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.4145, allocations: 0 / 0.5611 GB, free: 1.082 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.001695/0.4162, allocations: 0.8202 MB / 0.5619 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4162, allocations: 12.03 kB / 0.5619 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.4165, allocations: 68.52 kB / 0.562 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.4176, allocations: 0.4993 MB / 0.5625 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.4176, allocations: 29 kB / 0.5625 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4177, allocations: 47.98 kB / 0.5625 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.4187, allocations: 0.6336 MB / 0.5632 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4188, allocations: 0 / 0.5632 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.4188, allocations: 16 kB / 0.5632 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.419, allocations: 52.91 kB / 0.5632 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.4198, allocations: 467.6 kB / 0.5637 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.423, allocations: 2.23 MB / 0.5658 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.4236, allocations: 265.1 kB / 0.5661 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.4238, allocations: 125.7 kB / 0.5662 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.4238, allocations: 4 kB / 0.5662 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.4239, allocations: 38.56 kB / 0.5663 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.4239, allocations: 0 / 0.5663 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003072/0.4269, allocations: 1.263 MB / 0.5675 GB, free: 10.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.427, allocations: 81.11 kB / 0.5676 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.4275, allocations: 377.5 kB / 0.5679 GB, free: 9.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.4275, allocations: 33.7 kB / 0.568 GB, free: 9.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.4278, allocations: 308 kB / 0.5683 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4279, allocations: 119 kB / 0.5684 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.428, allocations: 90.27 kB / 0.5685 GB, free: 9.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.4282, allocations: 358.7 kB / 0.5688 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.4285, allocations: 124.9 kB / 0.5689 GB, free: 8.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.4288, allocations: 284.2 kB / 0.5692 GB, free: 8.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.4295, allocations: 457.9 kB / 0.5696 GB, free: 7.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4295, allocations: 4 kB / 0.5696 GB, free: 7.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001103/0.4306, allocations: 0.5846 MB / 0.5702 GB, free: 7.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4306, allocations: 8 kB / 0.5702 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4306, allocations: 11.92 kB / 0.5702 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.4311, allocations: 145.6 kB / 0.5704 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.4314, allocations: 83.77 kB / 0.5704 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.4351, allocations: 3.4 MB / 0.5738 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4354, allocations: 15.94 kB / 0.5738 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4355, allocations: 19.98 kB / 0.5738 GB, free: 3.395 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.0003996/0.4359, allocations: 237.6 kB / 0.574 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.4359, allocations: 43.72 kB / 0.5741 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.437, allocations: 0.4959 MB / 0.5745 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.437, allocations: 4 kB / 0.5745 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000797/0.4378, allocations: 406.1 kB / 0.5749 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4378, allocations: 8.016 kB / 0.5749 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.4395, allocations: 0.849 MB / 0.5758 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4395, allocations: 0 / 0.5758 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4397, allocations: 43.91 kB / 0.5758 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/0.44, allocations: 96.86 kB / 0.5759 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4401, allocations: 8 kB / 0.5759 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.4425, allocations: 1.874 MB / 0.5777 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4425, allocations: 8.031 kB / 0.5778 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4436, allocations: 0.6515 MB / 0.5784 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.4437, allocations: 55.73 kB / 0.5784 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.4438, allocations: 4 kB / 0.5784 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.444, allocations: 15.92 kB / 0.5785 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.4441, allocations: 19.97 kB / 0.5785 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.4441, allocations: 11.98 kB / 0.5785 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.4445, allocations: 279.2 kB / 0.5788 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4445, allocations: 0 / 0.5788 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000693/0.4452, allocations: 123.9 kB / 0.5789 GB, free: 13.96 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.0001665/0.4453, allocations: 107.2 kB / 0.579 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4464, allocations: 0.599 MB / 0.5796 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4464, allocations: 4 kB / 0.5796 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.4469, allocations: 291.2 kB / 0.5798 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.4476, allocations: 100 kB / 0.5799 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.4498, allocations: 1.127 MB / 0.581 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.4504, allocations: 323.7 kB / 0.5813 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.4507, allocations: 71.41 kB / 0.5814 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4508, allocations: 36.5 kB / 0.5814 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4508, allocations: 0 / 0.5814 GB, free: 11.22 MB / 430.1 MB Notification: Performance of Templates: time 0.01237/0.4632, allocations: 5.199 MB / 0.5865 GB, free: 6.113 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins/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: 5.479373551905155]