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.001536/0.001536, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001136/0.001136, allocations: 173.3 kB / 24.91 MB, free: 9.191 MB / 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 29.43 MB / 291.2 MB, free: 2.395 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+..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.[0-9,]+..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 316.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.534e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.004744/0.004759, allocations: 5.167 MB / 322 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.009191, allocations: 3.842 MB / 325.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.009421, allocations: 23.75 kB / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00617/0.01559, allocations: 5.376 MB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.01606, allocations: 334.1 kB / 331.6 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.0164, allocations: 227.6 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01771, allocations: 1.65 MB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.01819, allocations: 0.5555 MB / 334 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.01862, allocations: 0.5183 MB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.01896, allocations: 370.9 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.01902, allocations: 52 kB / 334.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.01913, allocations: 71.94 kB / 335 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.0193, allocations: 271.3 kB / 335.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.01945, allocations: 219.5 kB / 335.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.0199, allocations: 0.5022 MB / 336 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.0199, allocations: 0 / 336 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01991, allocations: 7.984 kB / 336 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.01991, allocations: 0 / 336 MB, free: 12.73 MB / 314.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.0008395/0.02075, allocations: 0.7618 MB / 336.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.02078, allocations: 11.98 kB / 336.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.02098, allocations: 96.84 kB / 336.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.02147, allocations: 420.5 kB / 337.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.02149, allocations: 33.38 kB / 337.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.02154, allocations: 47.92 kB / 337.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.02192, allocations: 407.6 kB / 337.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.02194, allocations: 3.953 kB / 337.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.02197, allocations: 19.98 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.02204, allocations: 48.97 kB / 337.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.02224, allocations: 157.5 kB / 338 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.02365, allocations: 1.847 MB / 339.8 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.02384, allocations: 194.6 kB / 340 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.0239, allocations: 57.7 kB / 340.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.02392, allocations: 7.938 kB / 340.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.02394, allocations: 38.56 kB / 340.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.02394, allocations: 0 / 340.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001135/0.02508, allocations: 0.6894 MB / 340.8 MB, free: 7.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.02511, allocations: 81.11 kB / 340.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.02528, allocations: 331.2 kB / 341.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.0253, allocations: 29.7 kB / 341.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.0254, allocations: 280.9 kB / 341.5 MB, free: 6.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.02545, allocations: 115.1 kB / 341.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.02552, allocations: 86.09 kB / 341.7 MB, free: 6.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.0256, allocations: 354.7 kB / 342.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.02566, allocations: 43.75 kB / 342.1 MB, free: 6.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.02576, allocations: 183 kB / 342.3 MB, free: 6.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.02596, allocations: 279.2 kB / 342.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02596, allocations: 4 kB / 342.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003568/0.02632, allocations: 348.8 kB / 342.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.02633, allocations: 8 kB / 342.9 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02634, allocations: 7.984 kB / 342.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.02656, allocations: 120.7 kB / 343 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.0267, allocations: 67.91 kB / 343.1 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.02806, allocations: 2.69 MB / 345.8 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.02816, allocations: 19.94 kB / 345.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.02818, allocations: 12 kB / 345.8 MB, free: 2.234 MB / 314.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.0001035/0.02828, allocations: 140.6 kB / 346 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.02833, allocations: 39.84 kB / 346 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.02865, allocations: 270.5 kB / 346.3 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02865, allocations: 4 kB / 346.3 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000228/0.02888, allocations: 219.8 kB / 346.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.02888, allocations: 0 / 346.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.02943, allocations: 0.6014 MB / 347.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02943, allocations: 0 / 347.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.02952, allocations: 35.97 kB / 347.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.02966, allocations: 71.56 kB / 347.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.02967, allocations: 8 kB / 347.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/0.03047, allocations: 1.436 MB / 348.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03047, allocations: 4 kB / 348.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.03081, allocations: 440.7 kB / 349.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.03087, allocations: 43.75 kB / 349.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.0309, allocations: 15.89 kB / 349.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.03098, allocations: 4 kB / 349.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.03101, allocations: 23.95 kB / 349.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.03103, allocations: 8 kB / 349.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.03112, allocations: 136.7 kB / 349.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03112, allocations: 0 / 349.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.0314, allocations: 120 kB / 349.4 MB, free: 14.41 MB / 330.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 8.1e-05/0.03148, allocations: 84.39 kB / 349.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.0319, allocations: 475 kB / 350 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.03192, allocations: 12 kB / 350 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.0321, allocations: 245.2 kB / 350.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.03241, allocations: 115.8 kB / 350.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.03376, allocations: 0.9711 MB / 351.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.03388, allocations: 169.1 kB / 351.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.034, allocations: 55.38 kB / 351.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.03413, allocations: 119.3 kB / 351.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03413, allocations: 0 / 351.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of Templates: time 0.007358/0.04149, allocations: 5.566 MB / 357.2 MB, free: 6.637 MB / 330.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0706931706517935]