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.001034/0.001034, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009828/0.0009828, allocations: 165 kB / 24.56 MB, free: 12 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 0.9859/0.9859, allocations: 177.1 MB / 205 MB, free: 5.617 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.2629/0.2629, allocations: 29.41 MB / 290.9 MB, free: 2.492 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.[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 1.793e-06/1.793e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.092e-05, allocations: 5.547 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.01234/0.01237, allocations: 5.205 MB / 374.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008388/0.02076, allocations: 3.816 MB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.02435, allocations: 27.81 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.03954, allocations: 5.345 MB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.04074, allocations: 342 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.04132, allocations: 219.6 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.04319, allocations: 1.672 MB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.0441, allocations: 0.5418 MB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.04487, allocations: 0.491 MB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.04559, allocations: 394.9 kB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.0457, allocations: 56 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.04596, allocations: 71.98 kB / 387.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.04619, allocations: 275.2 kB / 388.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.0464, allocations: 219.5 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.04717, allocations: 0.5022 MB / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.04717, allocations: 0 / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.04718, allocations: 0 / 388.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.0472, allocations: 0 / 388.8 MB, free: 7.797 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.001246/0.04844, allocations: 0.9178 MB / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.04849, allocations: 11.98 kB / 389.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.04877, allocations: 112.5 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.04948, allocations: 0.5095 MB / 390.3 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.04951, allocations: 33.38 kB / 390.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-05/0.04958, allocations: 59.86 kB / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.05014, allocations: 441.2 kB / 390.8 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.05016, allocations: 11.92 kB / 390.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.05019, allocations: 24 kB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/0.05027, allocations: 44.97 kB / 390.9 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.05059, allocations: 201.7 kB / 391.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.05282, allocations: 2.511 MB / 393.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.05314, allocations: 186.2 kB / 393.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.05325, allocations: 79.41 kB / 393.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.05328, allocations: 4 kB / 393.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.05332, allocations: 45.33 kB / 393.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/0.05333, allocations: 0 / 393.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001735/0.05506, allocations: 0.9441 MB / 394.9 MB, free: 1.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.0551, allocations: 81.11 kB / 395 MB, free: 1.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.0554, allocations: 414.6 kB / 395.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.05542, allocations: 37.83 kB / 395.4 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.0556, allocations: 354.8 kB / 395.8 MB, free: 440 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.0557, allocations: 123 kB / 395.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.05581, allocations: 87.8 kB / 396 MB, free: 220 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.05599, allocations: 0.5274 MB / 396.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.0561, allocations: 56.97 kB / 396.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.05629, allocations: 262.3 kB / 396.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.05665, allocations: 357.1 kB / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.05666, allocations: 3.938 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005994/0.05726, allocations: 452.5 kB / 397.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.05728, allocations: 8 kB / 397.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.05729, allocations: 4 kB / 397.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.05762, allocations: 123.6 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.05781, allocations: 79.84 kB / 397.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.06004, allocations: 3.824 MB / 401.6 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.06026, allocations: 15.94 kB / 401.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.06029, allocations: 24.03 kB / 401.7 MB, free: 10.04 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.000187/0.06047, allocations: 184.4 kB / 401.8 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.06054, allocations: 55.72 kB / 401.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.06107, allocations: 337.4 kB / 402.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.06107, allocations: 11.98 kB / 402.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003441/0.06142, allocations: 274.4 kB / 402.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.06142, allocations: 4 kB / 402.5 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000898/0.06232, allocations: 0.7773 MB / 403.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.06232, allocations: 8 kB / 403.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.06245, allocations: 39.91 kB / 403.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.06264, allocations: 79.83 kB / 403.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.06266, allocations: 8.094 kB / 403.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.06389, allocations: 2.014 MB / 405.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.06389, allocations: 7.938 kB / 405.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.06439, allocations: 0.4935 MB / 405.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.06449, allocations: 67.62 kB / 406 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.06451, allocations: 11.94 kB / 406 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.06461, allocations: 0 / 406 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.06466, allocations: 35.83 kB / 406.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.06468, allocations: 8 kB / 406.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.06487, allocations: 271.1 kB / 406.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06487, allocations: 4.062 kB / 406.3 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.06527, allocations: 120 kB / 406.4 MB, free: 5 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.0001204/0.06539, allocations: 99.25 kB / 406.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.06611, allocations: 0.6129 MB / 407.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.06611, allocations: 0 / 407.2 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.06636, allocations: 305.2 kB / 407.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.0669, allocations: 94.03 kB / 407.5 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.06871, allocations: 1.001 MB / 408.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.06884, allocations: 165.2 kB / 408.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.06898, allocations: 71.41 kB / 408.8 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.06904, allocations: 32.5 kB / 408.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06904, allocations: 0 / 408.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of Templates: time 0.007988/0.07703, allocations: 5.262 MB / 414.1 MB, free: 13.34 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=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.3807903048582375]