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.001464/0.001464, allocations: 85.23 kB / 20.68 MB, free: 1.035 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.001633/0.001633, allocations: 165.6 kB / 23.95 MB, free: 4.168 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.431/1.431, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1681/0.1681, allocations: 29.42 MB / 290.1 MB, free: 3.281 MB / 270.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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.175e-05, allocations: 5.375 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007099/0.007131, allocations: 5.055 MB / 435.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.0132, allocations: 3.654 MB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.01354, allocations: 23.81 kB / 439.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.02431, allocations: 5.356 MB / 444.8 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008916/0.0252, allocations: 342 kB / 445.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.02587, allocations: 227.6 kB / 445.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.02808, allocations: 1.66 MB / 447 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.02877, allocations: 0.5067 MB / 447.5 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.02937, allocations: 0.5104 MB / 448 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.02995, allocations: 382.9 kB / 448.4 MB, free: 172 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.12e-05/0.03004, allocations: 56 kB / 448.5 MB, free: 116 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.03022, allocations: 71.94 kB / 448.5 MB, free: 44 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.188/0.2182, allocations: 266 kB / 448.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.2187, allocations: 217 kB / 449 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2197, allocations: 0.8105 MB / 449.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2197, allocations: 2.062 kB / 449.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2197, allocations: 0 / 449.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.2197, allocations: 0 / 449.8 MB, free: 21.27 MB / 366.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.001361/0.2211, allocations: 0.8161 MB / 450.6 MB, free: 20.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2211, allocations: 9.969 kB / 450.6 MB, free: 20.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.2214, allocations: 72.89 kB / 450.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.2223, allocations: 494.6 kB / 451.2 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.2223, allocations: 31.31 kB / 451.2 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.2224, allocations: 53.22 kB / 451.3 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.2233, allocations: 0.6323 MB / 451.9 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.2233, allocations: 7.328 kB / 451.9 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.2234, allocations: 24.83 kB / 451.9 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.2235, allocations: 46.12 kB / 452 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.2242, allocations: 469.7 kB / 452.5 MB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.2269, allocations: 2.225 MB / 454.7 MB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.2273, allocations: 262.2 kB / 454.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.2275, allocations: 126.8 kB / 455.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2275, allocations: 6.25 kB / 455.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2275, allocations: 39.09 kB / 455.1 MB, free: 19.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.2275, allocations: 0 / 455.1 MB, free: 19.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002611/0.2301, allocations: 1.245 MB / 456.3 MB, free: 18.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2302, allocations: 79.83 kB / 456.4 MB, free: 18.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.2305, allocations: 386.2 kB / 456.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2306, allocations: 35.08 kB / 456.8 MB, free: 18.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.2307, allocations: 307.5 kB / 457.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.2308, allocations: 117.6 kB / 457.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2309, allocations: 83.55 kB / 457.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.231, allocations: 352.9 kB / 457.7 MB, free: 17.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.2312, allocations: 133.4 kB / 457.8 MB, free: 17.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.2314, allocations: 273.9 kB / 458.1 MB, free: 17.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.2319, allocations: 454.1 kB / 458.5 MB, free: 17.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2319, allocations: 2.75 kB / 458.5 MB, free: 17.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001009/0.2329, allocations: 0.5993 MB / 459.1 MB, free: 17.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2329, allocations: 9.656 kB / 459.1 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.233, allocations: 8.953 kB / 459.1 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.2334, allocations: 148.8 kB / 459.3 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.2337, allocations: 78.86 kB / 459.4 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.2364, allocations: 3.397 MB / 462.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.2366, allocations: 12.77 kB / 462.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.2367, allocations: 20.86 kB / 462.8 MB, free: 14.29 MB / 366.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.0002773/0.237, allocations: 240 kB / 463 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.237, allocations: 43.48 kB / 463.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.2379, allocations: 0.4978 MB / 463.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.238, allocations: 3.469 kB / 463.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007369/0.2387, allocations: 411.4 kB / 464 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2387, allocations: 2.438 kB / 464 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.24, allocations: 0.8558 MB / 464.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.24, allocations: 1.188 kB / 464.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.2402, allocations: 40.38 kB / 464.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.2405, allocations: 94.12 kB / 465 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2405, allocations: 3.406 kB / 465 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.2422, allocations: 1.891 MB / 466.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2422, allocations: 1.875 kB / 466.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.243, allocations: 0.6478 MB / 467.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.2431, allocations: 61.27 kB / 467.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.2432, allocations: 14.16 kB / 467.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2434, allocations: 9.562 kB / 467.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.2434, allocations: 23.2 kB / 467.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2435, allocations: 7.594 kB / 467.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.2437, allocations: 279.6 kB / 467.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2437, allocations: 0 / 467.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.2443, allocations: 117.8 kB / 468 MB, free: 11.1 MB / 366.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.0001019/0.2444, allocations: 103 kB / 468.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.2453, allocations: 0.5901 MB / 468.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2453, allocations: 1.25 kB / 468.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.2458, allocations: 294.1 kB / 469 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.2464, allocations: 87.44 kB / 469.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.2481, allocations: 1.065 MB / 470.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2485, allocations: 318.8 kB / 470.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.2487, allocations: 70 kB / 470.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.2488, allocations: 40.06 kB / 470.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2488, allocations: 0 / 470.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01069/0.2594, allocations: 5.19 MB / 475.7 MB, free: 8.754 MB / 366.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: 4.749572820961475]