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.001379/0.001379, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001734/0.001734, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.488/1.488, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3196/0.3196, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.595e-05, allocations: 5.547 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008432/0.008468, allocations: 5.071 MB / 374 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.01607, allocations: 3.634 MB / 377.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.01665, allocations: 23.81 kB / 377.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.03055, allocations: 5.426 MB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.03191, allocations: 338.1 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.03282, allocations: 223.5 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.03607, allocations: 1.672 MB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.03743, allocations: 0.5341 MB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.03859, allocations: 0.4949 MB / 386.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.03946, allocations: 390.8 kB / 386.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.03962, allocations: 59.94 kB / 386.7 MB, free: 9.379 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.0399, allocations: 71.98 kB / 386.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.0403, allocations: 267.3 kB / 387.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.04073, allocations: 219.5 kB / 387.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.04208, allocations: 0.8256 MB / 388.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.04208, allocations: 0 / 388.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.04208, allocations: 4 kB / 388.1 MB, free: 8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.48e-05/0.04212, allocations: 0 / 388.1 MB, free: 8 MB / 362.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.002316/0.04443, allocations: 0.7988 MB / 388.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.04448, allocations: 8.031 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.04492, allocations: 120.5 kB / 389 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.04621, allocations: 0.5147 MB / 389.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.04626, allocations: 29.38 kB / 389.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.04638, allocations: 51.94 kB / 389.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.04785, allocations: 0.6297 MB / 390.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.04787, allocations: 7.953 kB / 390.3 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.04793, allocations: 16 kB / 390.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.04809, allocations: 52.91 kB / 390.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.04899, allocations: 463.6 kB / 390.8 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.05282, allocations: 2.242 MB / 393 MB, free: 2.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.05335, allocations: 261.1 kB / 393.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.0536, allocations: 133.7 kB / 393.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.05362, allocations: 4 kB / 393.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.05367, allocations: 38.56 kB / 393.5 MB, free: 2.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.05367, allocations: 0 / 393.5 MB, free: 2.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003281/0.05696, allocations: 1.251 MB / 394.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.05704, allocations: 85.05 kB / 394.8 MB, free: 1.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.05757, allocations: 385.5 kB / 395.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.05761, allocations: 29.7 kB / 395.2 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.05792, allocations: 312 kB / 395.5 MB, free: 292 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.05807, allocations: 119 kB / 395.6 MB, free: 172 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.05822, allocations: 78.14 kB / 395.7 MB, free: 88 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.05846, allocations: 354.8 kB / 396 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.05871, allocations: 137 kB / 396.2 MB, free: 15.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.05912, allocations: 274.9 kB / 396.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009981/0.06012, allocations: 453.9 kB / 396.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.06012, allocations: 7.938 kB / 396.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001282/0.06141, allocations: 0.6119 MB / 397.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.06143, allocations: 8 kB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.06144, allocations: 4 kB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.06205, allocations: 161.8 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.06237, allocations: 83.83 kB / 397.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/0.06667, allocations: 3.416 MB / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.06699, allocations: 12 kB / 401.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.06704, allocations: 20 kB / 401.2 MB, free: 10.21 MB / 378.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.0003921/0.06743, allocations: 241.5 kB / 401.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.06755, allocations: 55.66 kB / 401.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.06864, allocations: 0.4958 MB / 402 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.06865, allocations: 4 kB / 402 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008206/0.06947, allocations: 410.1 kB / 402.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.06947, allocations: 0 / 402.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.07121, allocations: 0.8568 MB / 403.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.07122, allocations: 0 / 403.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.07145, allocations: 48.03 kB / 403.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.07181, allocations: 97 kB / 403.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.07185, allocations: 8 kB / 403.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.0747, allocations: 1.889 MB / 405.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.07471, allocations: 4.031 kB / 405.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.07584, allocations: 0.6476 MB / 405.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.07601, allocations: 63.62 kB / 406 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.07606, allocations: 12.12 kB / 406 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.07626, allocations: 8 kB / 406 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.07633, allocations: 23.89 kB / 406 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.07635, allocations: 12 kB / 406.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004075/0.07676, allocations: 275.1 kB / 406.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07676, allocations: 0 / 406.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006871/0.07745, allocations: 120 kB / 406.4 MB, free: 4.746 MB / 378.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 0.0002263/0.07767, allocations: 103.2 kB / 406.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.07897, allocations: 0.6133 MB / 407.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.07898, allocations: 1.25 kB / 407.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.07951, allocations: 294.5 kB / 407.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.08021, allocations: 91.19 kB / 407.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.08269, allocations: 1.062 MB / 408.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.08316, allocations: 327.9 kB / 408.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.08341, allocations: 71.41 kB / 409 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.08353, allocations: 32.5 kB / 409 MB, free: 2.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.08353, allocations: 0 / 409 MB, free: 2.051 MB / 378.7 MB Notification: Performance of Templates: time 0.01464/0.09818, allocations: 5.233 MB / 414.3 MB, free: 12.93 MB / 394.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=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.032978456001729]