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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 195.8 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.183/0.183, allocations: 38.52 MB / 345 MB, free: 2.66 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,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: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.91 kB / 482.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3461, allocations: 61.24 MB / 0.5309 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006466/0.3525, allocations: 5.323 MB / 0.5361 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005818/0.3583, allocations: 3.989 MB / 0.54 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.3589, allocations: 16.31 kB / 0.54 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.3699, allocations: 4.974 MB / 0.5449 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3711, allocations: 328.3 kB / 0.5452 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.3717, allocations: 220.2 kB / 0.5454 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.3741, allocations: 1.597 MB / 0.547 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007995/0.3749, allocations: 0.5019 MB / 0.5475 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.3755, allocations: 373.2 kB / 0.5478 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.3761, allocations: 442.3 kB / 0.5483 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.3762, allocations: 56.09 kB / 0.5483 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3764, allocations: 68.83 kB / 0.5484 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.3767, allocations: 258.1 kB / 0.5486 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.377, allocations: 325.3 kB / 0.5489 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.378, allocations: 0.8152 MB / 0.5497 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.378, allocations: 0 / 0.5497 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.378, allocations: 4 kB / 0.5497 GB, free: 8.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.378, allocations: 3.938 kB / 0.5497 GB, free: 8.961 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.001741/0.3798, allocations: 0.8848 MB / 0.5506 GB, free: 8.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3798, allocations: 16.92 kB / 0.5506 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.3801, allocations: 71.2 kB / 0.5507 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3812, allocations: 0.5634 MB / 0.5512 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.3813, allocations: 35.66 kB / 0.5513 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.3814, allocations: 49.25 kB / 0.5513 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3824, allocations: 0.6329 MB / 0.5519 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3825, allocations: 0 / 0.5519 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.3825, allocations: 16 kB / 0.5519 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.3826, allocations: 56.95 kB / 0.552 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.3834, allocations: 463.6 kB / 0.5524 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.3869, allocations: 2.511 MB / 0.5549 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.3873, allocations: 261.2 kB / 0.5551 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3876, allocations: 129.7 kB / 0.5553 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3876, allocations: 8.484 kB / 0.5553 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.3876, allocations: 46.5 kB / 0.5553 GB, free: 3.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.3876, allocations: 0 / 0.5553 GB, free: 3.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.003139/0.3908, allocations: 1.55 MB / 0.5568 GB, free: 1.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3908, allocations: 81.11 kB / 0.5569 GB, free: 1.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.3913, allocations: 413.9 kB / 0.5573 GB, free: 1.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3914, allocations: 29.7 kB / 0.5573 GB, free: 1.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.3916, allocations: 304.2 kB / 0.5576 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3917, allocations: 123 kB / 0.5577 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3919, allocations: 82.08 kB / 0.5578 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3921, allocations: 362.8 kB / 0.5582 GB, free: 328 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3923, allocations: 132.8 kB / 0.5583 GB, free: 196 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.3926, allocations: 278.3 kB / 0.5586 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.3932, allocations: 449.7 kB / 0.559 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3932, allocations: 12 kB / 0.559 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001149/0.3944, allocations: 0.6718 MB / 0.5597 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3944, allocations: 8 kB / 0.5597 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3944, allocations: 7.984 kB / 0.5597 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.3949, allocations: 145.8 kB / 0.5598 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3952, allocations: 79.89 kB / 0.5599 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.399, allocations: 3.668 MB / 0.5635 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.3993, allocations: 11.98 kB / 0.5635 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.3994, allocations: 28.06 kB / 0.5635 GB, free: 10.4 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.0004161/0.3998, allocations: 245.7 kB / 0.5637 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.3999, allocations: 43.72 kB / 0.5638 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.401, allocations: 0.571 MB / 0.5643 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.401, allocations: 8 kB / 0.5643 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007918/0.4018, allocations: 479.2 kB / 0.5648 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4018, allocations: 3.984 kB / 0.5648 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.4034, allocations: 0.9935 MB / 0.5658 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4034, allocations: 4 kB / 0.5658 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.4036, allocations: 44.06 kB / 0.5658 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.4039, allocations: 88.72 kB / 0.5659 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4039, allocations: 8 kB / 0.5659 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.406, allocations: 2.024 MB / 0.5679 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.406, allocations: 8.094 kB / 0.5679 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.407, allocations: 0.6367 MB / 0.5685 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.4072, allocations: 140.9 kB / 0.5687 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.4073, allocations: 11.94 kB / 0.5687 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4074, allocations: 8 kB / 0.5687 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4075, allocations: 19.97 kB / 0.5687 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.4075, allocations: 8 kB / 0.5687 GB, free: 4.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.4079, allocations: 303.1 kB / 0.569 GB, free: 4.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 0.569 GB, free: 4.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.4084, allocations: 120 kB / 0.5691 GB, free: 4.328 MB / 414.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.0001461/0.4086, allocations: 119 kB / 0.5692 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4096, allocations: 0.5992 MB / 0.5698 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4096, allocations: 0 / 0.5698 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.4101, allocations: 286.4 kB / 0.5701 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.4107, allocations: 117 kB / 0.5702 GB, free: 3.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.4128, allocations: 1.198 MB / 0.5714 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.4134, allocations: 0.9245 MB / 0.5723 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4135, allocations: 39.42 kB / 0.5723 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4135, allocations: 0 / 0.5723 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Templates: time 0.0145/0.428, allocations: 10.03 MB / 0.5821 GB, free: 6.93 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/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