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.0008181/0.0008181, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002041, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007064/0.0007064, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009984/0.001705, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9904/0.9904, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08994/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1139/0.1139, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1478/0.2617, allocations: 9.542 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.744e-06/1.744e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.035e-05, allocations: 7.188 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007309/0.007339, allocations: 5.271 MB / 289.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005883/0.01322, allocations: 3.858 MB / 293.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.01378, allocations: 23.16 kB / 293.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007296/0.02108, allocations: 5.045 MB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.02197, allocations: 346 kB / 299 MB, free: 156 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.02245, allocations: 223.5 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.02419, allocations: 1.61 MB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/0.02503, allocations: 0.5251 MB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.02569, allocations: 0.5503 MB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.02619, allocations: 378.9 kB / 302.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.02626, allocations: 56 kB / 302.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.02643, allocations: 75.92 kB / 302.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.02661, allocations: 243.4 kB / 302.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.02676, allocations: 187.6 kB / 302.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.0273, allocations: 474.4 kB / 303.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.02731, allocations: 4 kB / 303.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02731, allocations: 0 / 303.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.02733, allocations: 0 / 303.3 MB, free: 11.85 MB / 298.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.001082/0.02841, allocations: 0.9023 MB / 304.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.02844, allocations: 8.031 kB / 304.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.02872, allocations: 166 kB / 304.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.0293, allocations: 424.5 kB / 304.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.02933, allocations: 33.38 kB / 304.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.02939, allocations: 51.92 kB / 304.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.02986, allocations: 403.6 kB / 305.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.02988, allocations: 3.938 kB / 305.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.02992, allocations: 23.98 kB / 305.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.647e-05/0.02999, allocations: 48.97 kB / 305.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.0302, allocations: 149.6 kB / 305.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.03189, allocations: 1.851 MB / 307.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.03211, allocations: 204.8 kB / 307.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.03217, allocations: 49.77 kB / 307.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.03219, allocations: 11.98 kB / 307.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.03222, allocations: 38.55 kB / 307.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.03222, allocations: 0 / 307.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001287/0.03351, allocations: 0.7011 MB / 308.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003263/0.03384, allocations: 88.98 kB / 308.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.03404, allocations: 327.2 kB / 308.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.03406, allocations: 33.7 kB / 308.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.03417, allocations: 276.9 kB / 309 MB, free: 5.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.03423, allocations: 123 kB / 309.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.0343, allocations: 82.09 kB / 309.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.03439, allocations: 354.7 kB / 309.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.03444, allocations: 43.81 kB / 309.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.03456, allocations: 179 kB / 309.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.03478, allocations: 295.5 kB / 310.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.03478, allocations: 0 / 310.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003933/0.03517, allocations: 352.5 kB / 310.4 MB, free: 4.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.03519, allocations: 8 kB / 310.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.0352, allocations: 8 kB / 310.4 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.03546, allocations: 116.7 kB / 310.5 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.03565, allocations: 87.83 kB / 310.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.03724, allocations: 2.679 MB / 313.3 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.03742, allocations: 16 kB / 313.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.03745, allocations: 16 kB / 313.3 MB, free: 1.078 MB / 298.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.0001592/0.03761, allocations: 140.6 kB / 313.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.03765, allocations: 35.91 kB / 313.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.03802, allocations: 286.7 kB / 313.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.03802, allocations: 0 / 313.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002782/0.0383, allocations: 222.9 kB / 314 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.03831, allocations: 4 kB / 314 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.039, allocations: 0.586 MB / 314.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.039, allocations: 4 kB / 314.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.03912, allocations: 47.91 kB / 314.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.03918, allocations: 47.72 kB / 314.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.03935, allocations: 71.83 kB / 314.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.03936, allocations: 8 kB / 314.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.04063, allocations: 1.428 MB / 316.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.04063, allocations: 4 kB / 316.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.04101, allocations: 436.2 kB / 316.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.04105, allocations: 11.94 kB / 316.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.04113, allocations: 11.94 kB / 316.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.04117, allocations: 19.95 kB / 316.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.04119, allocations: 8 kB / 316.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.04129, allocations: 136.7 kB / 316.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04129, allocations: 0 / 316.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.04166, allocations: 124 kB / 316.9 MB, free: 13.24 MB / 314.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.0001114/0.04177, allocations: 89.75 kB / 317 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.04227, allocations: 480.3 kB / 317.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/0.04229, allocations: 12 kB / 317.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.04252, allocations: 261.2 kB / 317.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.04311, allocations: 0.7366 MB / 318.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00727/0.05038, allocations: 0.9947 MB / 319.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.05052, allocations: 172.9 kB / 319.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.05069, allocations: 51.44 kB / 319.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.05084, allocations: 123.3 kB / 319.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.05084, allocations: 0 / 319.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Templates: time 0.009746/0.06059, allocations: 5.653 MB / 325.5 MB, free: 4.582 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.935589464381337]