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.0009652/0.0009652, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001541/0.001541, allocations: 161 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.9615/0.9615, allocations: 177.1 MB / 205 MB, free: 5.613 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.2358/0.2358, allocations: 29.42 MB / 290.9 MB, free: 2.512 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 1.432e-06/1.432e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.496e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005247/0.005272, allocations: 5.209 MB / 374.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.009811, allocations: 3.818 MB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.01015, allocations: 23.81 kB / 378.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007153/0.01731, allocations: 5.466 MB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007438/0.01805, allocations: 330.2 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.0185, allocations: 227.5 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.0202, allocations: 1.66 MB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.02086, allocations: 0.538 MB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005886/0.02145, allocations: 0.5183 MB / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.02196, allocations: 394.9 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.02203, allocations: 52 kB / 387.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.0222, allocations: 63.94 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.0224, allocations: 275.3 kB / 388.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.02259, allocations: 215.5 kB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.02317, allocations: 0.5021 MB / 388.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.02317, allocations: 8 kB / 388.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02317, allocations: 0 / 388.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.02318, allocations: 0 / 388.9 MB, free: 7.66 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.001121/0.0243, allocations: 0.91 MB / 389.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.02434, allocations: 11.98 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.02461, allocations: 116.5 kB / 389.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.02529, allocations: 0.4979 MB / 390.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.02531, allocations: 33.38 kB / 390.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.02538, allocations: 55.86 kB / 390.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.0259, allocations: 449.2 kB / 391 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.02592, allocations: 15.94 kB / 391 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.02595, allocations: 16 kB / 391 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.251e-05/0.02603, allocations: 48.91 kB / 391 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.02635, allocations: 205.7 kB / 391.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.02843, allocations: 2.515 MB / 393.8 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.02872, allocations: 189.7 kB / 393.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.02882, allocations: 71.41 kB / 394 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.02884, allocations: 7.984 kB / 394 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.02887, allocations: 41.39 kB / 394.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/0.02887, allocations: 0 / 394.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001597/0.03047, allocations: 0.9366 MB / 395 MB, free: 1.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.03051, allocations: 85.05 kB / 395.1 MB, free: 1.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.03082, allocations: 422.5 kB / 395.5 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.03084, allocations: 29.7 kB / 395.5 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.031, allocations: 362.8 kB / 395.9 MB, free: 308 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.03107, allocations: 115 kB / 396 MB, free: 192 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.03115, allocations: 87.8 kB / 396.1 MB, free: 96 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.03129, allocations: 0.5274 MB / 396.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.03139, allocations: 60.98 kB / 396.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.03155, allocations: 258.4 kB / 396.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.03185, allocations: 353.1 kB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03186, allocations: 3.938 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005479/0.03241, allocations: 456.5 kB / 397.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.03243, allocations: 8 kB / 397.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.03244, allocations: 11.98 kB / 397.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.03274, allocations: 119.3 kB / 397.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.03292, allocations: 88.05 kB / 397.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.03498, allocations: 3.816 MB / 401.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.03511, allocations: 12 kB / 401.8 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.03514, allocations: 20 kB / 401.8 MB, free: 9.926 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.0001389/0.03528, allocations: 192.3 kB / 402 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.03533, allocations: 51.77 kB / 402 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.0358, allocations: 345.4 kB / 402.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.0358, allocations: 4 kB / 402.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003437/0.03615, allocations: 278.5 kB / 402.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.03615, allocations: 3.984 kB / 402.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.03701, allocations: 0.7812 MB / 403.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03701, allocations: 4 kB / 403.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.03712, allocations: 40.05 kB / 403.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.03729, allocations: 83.83 kB / 403.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.03731, allocations: 8 kB / 403.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.03839, allocations: 2.006 MB / 405.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.0384, allocations: 7.984 kB / 405.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.03892, allocations: 0.4934 MB / 406.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.03899, allocations: 63.77 kB / 406.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.03901, allocations: 8 kB / 406.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.0391, allocations: 11.98 kB / 406.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.03915, allocations: 27.88 kB / 406.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.03917, allocations: 12 kB / 406.2 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.03933, allocations: 267.1 kB / 406.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03933, allocations: 0 / 406.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.03966, allocations: 116 kB / 406.6 MB, free: 4.891 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 9.884e-05/0.03975, allocations: 103.2 kB / 406.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005789/0.04033, allocations: 0.6057 MB / 407.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04034, allocations: 0 / 407.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.04057, allocations: 325.4 kB / 407.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.04094, allocations: 85.59 kB / 407.7 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.04267, allocations: 0.9969 MB / 408.7 MB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.04278, allocations: 169.2 kB / 408.8 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.04292, allocations: 63.38 kB / 408.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.04297, allocations: 40.48 kB / 408.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04297, allocations: 0 / 408.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of Templates: time 0.007822/0.0508, allocations: 5.42 MB / 414.3 MB, free: 13.05 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.1071991552598774]