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.001362/0.001362, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00186/0.00186, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.976/0.976, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1177/0.1177, allocations: 29.44 MB / 292 MB, free: 2.613 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.393e-06/1.393e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.332e-05, allocations: 7.125 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.003606/0.003619, allocations: 5.139 MB / 376 MB, free: 27.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.006675, allocations: 3.775 MB / 379.8 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.006855, allocations: 23.81 kB / 379.8 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.01179, allocations: 5.477 MB / 385.3 MB, free: 17.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.01208, allocations: 342 kB / 385.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.01232, allocations: 227.5 kB / 385.9 MB, free: 17.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.01333, allocations: 1.676 MB / 387.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.01368, allocations: 0.5263 MB / 388.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.01397, allocations: 0.5182 MB / 388.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.01426, allocations: 386.9 kB / 389 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.01431, allocations: 52 kB / 389 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.0144, allocations: 79.92 kB / 389.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.01452, allocations: 267.3 kB / 389.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.01465, allocations: 223.5 kB / 389.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.01498, allocations: 0.4944 MB / 390.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01498, allocations: 0 / 390.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01498, allocations: 0 / 390.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01499, allocations: 0 / 390.1 MB, free: 13.06 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.0007248/0.01571, allocations: 0.9099 MB / 391 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.01574, allocations: 12.03 kB / 391 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.01592, allocations: 104.5 kB / 391.1 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.01637, allocations: 0.5017 MB / 391.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.01639, allocations: 37.36 kB / 391.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.01643, allocations: 47.94 kB / 391.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.01674, allocations: 417.1 kB / 392.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01676, allocations: 4 kB / 392.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.01679, allocations: 16 kB / 392.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.01685, allocations: 56.95 kB / 392.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01703, allocations: 162.7 kB / 392.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01821, allocations: 2.437 MB / 394.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.01837, allocations: 162.2 kB / 394.9 MB, free: 7.949 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.01843, allocations: 63.41 kB / 395 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.01844, allocations: 4 kB / 395 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.01846, allocations: 45.38 kB / 395 MB, free: 7.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.01846, allocations: 3.938 kB / 395 MB, free: 7.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001082/0.01955, allocations: 0.7473 MB / 395.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.01956, allocations: 81.11 kB / 395.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01973, allocations: 414.4 kB / 396.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01974, allocations: 33.83 kB / 396.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.01984, allocations: 370.7 kB / 396.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.01989, allocations: 119 kB / 396.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.01996, allocations: 91.75 kB / 396.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.02002, allocations: 0.5312 MB / 397.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.02007, allocations: 40.95 kB / 397.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.02016, allocations: 246.3 kB / 397.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.02034, allocations: 341 kB / 398 MB, free: 4.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.02035, allocations: 0 / 398 MB, free: 4.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000447/0.02079, allocations: 416.5 kB / 398.4 MB, free: 4.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.02081, allocations: 8 kB / 398.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.02081, allocations: 4 kB / 398.4 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.02104, allocations: 123.6 kB / 398.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.02119, allocations: 75.89 kB / 398.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.02254, allocations: 3.767 MB / 402.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.02266, allocations: 15.94 kB / 402.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.02269, allocations: 24.02 kB / 402.4 MB, free: 15.88 MB / 330.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.0001261/0.02281, allocations: 180.5 kB / 402.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.02287, allocations: 55.66 kB / 402.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.02329, allocations: 313.3 kB / 403 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02329, allocations: 8 kB / 403 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003039/0.02359, allocations: 261.4 kB / 403.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.0236, allocations: 3.938 kB / 403.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.02431, allocations: 0.677 MB / 403.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02431, allocations: 0 / 403.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.02441, allocations: 39.92 kB / 403.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.02457, allocations: 71.61 kB / 404 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.02458, allocations: 8.094 kB / 404 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.02574, allocations: 1.975 MB / 406 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02574, allocations: 4 kB / 406 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.02614, allocations: 480.2 kB / 406.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.02621, allocations: 59.64 kB / 406.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.02624, allocations: 4 kB / 406.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.02633, allocations: 11.98 kB / 406.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.02637, allocations: 15.97 kB / 406.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.02638, allocations: 11.98 kB / 406.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.02653, allocations: 263 kB / 406.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02653, allocations: 4.062 kB / 406.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.02687, allocations: 116 kB / 406.9 MB, free: 11.1 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 0.0001352/0.02701, allocations: 111.2 kB / 407.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.02755, allocations: 0.5778 MB / 407.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02755, allocations: 0 / 407.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.02791, allocations: 308 kB / 407.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.02828, allocations: 100.9 kB / 408 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.02966, allocations: 0.9909 MB / 409 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.02978, allocations: 176.9 kB / 409.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.02989, allocations: 55.38 kB / 409.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.03002, allocations: 142.2 kB / 409.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03002, allocations: 0 / 409.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of Templates: time 0.007395/0.03742, allocations: 5.662 MB / 415 MB, free: 2.984 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.2999920807778835]