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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 182.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1829/0.1829, allocations: 38.54 MB / 346.3 MB, free: 2.121 MB / 270.1 MB " [Timeout remaining time 180] 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=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: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006754/0.3595, allocations: 5.397 MB / 0.5383 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.3665, allocations: 4.014 MB / 0.5422 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/0.3671, allocations: 23.47 kB / 0.5422 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.3797, allocations: 5.402 MB / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.3812, allocations: 325.2 kB / 0.5478 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.3818, allocations: 223.4 kB / 0.548 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.3849, allocations: 1.64 MB / 0.5496 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009903/0.3859, allocations: 480.6 kB / 0.5501 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.3866, allocations: 374.4 kB / 0.5505 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.3873, allocations: 447.3 kB / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3874, allocations: 56.03 kB / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3876, allocations: 69.27 kB / 0.551 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.3879, allocations: 262.6 kB / 0.5513 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.3883, allocations: 324.7 kB / 0.5516 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3895, allocations: 0.8162 MB / 0.5524 GB, free: 8.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3895, allocations: 0 / 0.5524 GB, free: 8.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3895, allocations: 3.938 kB / 0.5524 GB, free: 8.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.3895, allocations: 0 / 0.5524 GB, free: 8.316 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.001783/0.3913, allocations: 0.8066 MB / 0.5532 GB, free: 7.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3913, allocations: 11.98 kB / 0.5532 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.3916, allocations: 76.5 kB / 0.5532 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3928, allocations: 0.4955 MB / 0.5537 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.3928, allocations: 36.98 kB / 0.5538 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3929, allocations: 43.95 kB / 0.5538 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.394, allocations: 0.6335 MB / 0.5544 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.394, allocations: 0 / 0.5544 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.3941, allocations: 23.94 kB / 0.5544 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.3942, allocations: 52.97 kB / 0.5545 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.395, allocations: 467.6 kB / 0.5549 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.3985, allocations: 2.431 MB / 0.5573 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.3991, allocations: 261.2 kB / 0.5576 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3993, allocations: 125.7 kB / 0.5577 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3993, allocations: 8.5 kB / 0.5577 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.3994, allocations: 42.5 kB / 0.5577 GB, free: 2.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.3994, allocations: 0 / 0.5577 GB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.003169/0.4025, allocations: 1.24 MB / 0.5589 GB, free: 1.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.4026, allocations: 81.11 kB / 0.559 GB, free: 1.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.4031, allocations: 413.8 kB / 0.5594 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.4032, allocations: 33.7 kB / 0.5594 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4034, allocations: 308.2 kB / 0.5597 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.4035, allocations: 119 kB / 0.5599 GB, free: 320 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.4037, allocations: 86.08 kB / 0.5599 GB, free: 228 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4039, allocations: 358.7 kB / 0.5603 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.4041, allocations: 128.8 kB / 0.5604 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.4045, allocations: 282.2 kB / 0.5607 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.4052, allocations: 457.9 kB / 0.5611 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4052, allocations: 0 / 0.5611 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00111/0.4063, allocations: 0.5897 MB / 0.5617 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4063, allocations: 8 kB / 0.5617 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4063, allocations: 8.359 kB / 0.5617 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.4068, allocations: 157.5 kB / 0.5619 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.4071, allocations: 75.89 kB / 0.5619 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.4112, allocations: 3.465 MB / 0.5653 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.4116, allocations: 16.06 kB / 0.5653 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4116, allocations: 20 kB / 0.5653 GB, free: 10.3 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.0004048/0.412, allocations: 236.8 kB / 0.5656 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.4121, allocations: 43.72 kB / 0.5656 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4132, allocations: 0.5077 MB / 0.5661 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4132, allocations: 4 kB / 0.5661 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007651/0.4139, allocations: 405.1 kB / 0.5665 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.414, allocations: 4 kB / 0.5665 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.4157, allocations: 0.9732 MB / 0.5674 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4157, allocations: 0 / 0.5674 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4159, allocations: 35.98 kB / 0.5675 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.4162, allocations: 96.66 kB / 0.5676 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.4163, allocations: 11.98 kB / 0.5676 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.4185, allocations: 1.913 MB / 0.5695 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4185, allocations: 0 / 0.5695 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.4196, allocations: 0.6524 MB / 0.5701 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.4198, allocations: 59.69 kB / 0.5701 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.4198, allocations: 8 kB / 0.5702 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.42, allocations: 11.98 kB / 0.5702 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.4201, allocations: 19.97 kB / 0.5702 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4201, allocations: 11.98 kB / 0.5702 GB, free: 5.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.4205, allocations: 307.2 kB / 0.5705 GB, free: 4.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4205, allocations: 0 / 0.5705 GB, free: 4.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.4211, allocations: 116 kB / 0.5706 GB, free: 4.664 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.0001451/0.4212, allocations: 115 kB / 0.5707 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.4224, allocations: 0.5921 MB / 0.5713 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4224, allocations: 0 / 0.5713 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.4229, allocations: 291.3 kB / 0.5716 GB, free: 3.625 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.4236, allocations: 124.4 kB / 0.5717 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4257, allocations: 1.143 MB / 0.5728 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.4264, allocations: 0.9206 MB / 0.5737 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.4266, allocations: 72.33 kB / 0.5738 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.4267, allocations: 35.42 kB / 0.5738 GB, free: 1.273 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4267, allocations: 0 / 0.5738 GB, free: 1.273 MB / 414.1 MB Notification: Performance of Templates: time 0.01334/0.44, allocations: 6.021 MB / 0.5797 GB, free: 11.31 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.188647670671344]