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.001853/0.001853, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002512/0.002512, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3172/0.3172, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.1..Q_flow|bdCond.heat.ports.2..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.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.661e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.008153/0.00818, allocations: 5.324 MB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.01506, allocations: 3.806 MB / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.0154, allocations: 23.81 kB / 378 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.02736, allocations: 5.434 MB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009854/0.02835, allocations: 338 kB / 383.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.02894, allocations: 223.5 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.03155, allocations: 1.664 MB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008313/0.03238, allocations: 0.5341 MB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007582/0.03313, allocations: 0.5143 MB / 386.7 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.03381, allocations: 394.9 kB / 387.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.03391, allocations: 56 kB / 387.2 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.0341, allocations: 75.97 kB / 387.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.0344, allocations: 267.3 kB / 387.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.03471, allocations: 219.5 kB / 387.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.03583, allocations: 0.8295 MB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.03584, allocations: 4 kB / 388.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03584, allocations: 0 / 388.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.03585, allocations: 0 / 388.6 MB, free: 7.582 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.00185/0.0377, allocations: 0.9647 MB / 389.5 MB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.03773, allocations: 8.031 kB / 389.5 MB, free: 6.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005832/0.03832, allocations: 108.5 kB / 389.6 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.03944, allocations: 0.5175 MB / 390.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.03948, allocations: 37.36 kB / 390.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.03958, allocations: 43.94 kB / 390.2 MB, free: 5.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009465/0.04053, allocations: 0.5324 MB / 390.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.04056, allocations: 11.89 kB / 390.8 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.04061, allocations: 16 kB / 390.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.04074, allocations: 44.97 kB / 390.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.04133, allocations: 275.7 kB / 391.1 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.04512, allocations: 2.757 MB / 393.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.04558, allocations: 210.2 kB / 394.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.04576, allocations: 83.41 kB / 394.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.04579, allocations: 4 kB / 394.2 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.04583, allocations: 41.39 kB / 394.2 MB, free: 1.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.04583, allocations: 0 / 394.2 MB, free: 1.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002713/0.04855, allocations: 0.999 MB / 395.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.04862, allocations: 85.11 kB / 395.3 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.04924, allocations: 0.5065 MB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.04927, allocations: 29.7 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.04961, allocations: 378.8 kB / 396.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.04974, allocations: 123 kB / 396.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.04991, allocations: 107.8 kB / 396.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006017/0.05051, allocations: 0.5626 MB / 397 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.05068, allocations: 72.97 kB / 397 MB, free: 14.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.05106, allocations: 298.3 kB / 397.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.05166, allocations: 397.2 kB / 397.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.05166, allocations: 3.938 kB / 397.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001011/0.05267, allocations: 496.5 kB / 398.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.05269, allocations: 11.94 kB / 398.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.0527, allocations: 7.984 kB / 398.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.05319, allocations: 131.5 kB / 398.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.05352, allocations: 83.83 kB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/0.05745, allocations: 3.875 MB / 402.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.0577, allocations: 16 kB / 402.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.05774, allocations: 19.98 kB / 402.3 MB, free: 8.93 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.0002898/0.05803, allocations: 220.3 kB / 402.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.05813, allocations: 55.75 kB / 402.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009086/0.05904, allocations: 373.3 kB / 403 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.05905, allocations: 4 kB / 403 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007038/0.05975, allocations: 325.5 kB / 403.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.05976, allocations: 3.984 kB / 403.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.06168, allocations: 0.9102 MB / 404.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.06168, allocations: 4.125 kB / 404.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.06189, allocations: 39.92 kB / 404.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003066/0.0622, allocations: 79.84 kB / 404.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.06223, allocations: 4 kB / 404.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.0645, allocations: 2.061 MB / 406.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0645, allocations: 0 / 406.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009528/0.06546, allocations: 0.5558 MB / 407 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.06562, allocations: 67.75 kB / 407 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.06567, allocations: 3.984 kB / 407 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.06585, allocations: 8 kB / 407 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.06592, allocations: 31.83 kB / 407.1 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.06595, allocations: 12 kB / 407.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003905/0.06634, allocations: 319.1 kB / 407.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06634, allocations: 0 / 407.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000527/0.06686, allocations: 116 kB / 407.5 MB, free: 3.496 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.000171/0.06703, allocations: 103.2 kB / 407.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.06831, allocations: 0.6447 MB / 408.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.06831, allocations: 4.312 kB / 408.3 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.06884, allocations: 344.9 kB / 408.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.0695, allocations: 99.17 kB / 408.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.07147, allocations: 1.008 MB / 409.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.07185, allocations: 307.9 kB / 410 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.07207, allocations: 67.39 kB / 410.1 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.07216, allocations: 36.5 kB / 410.1 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.07217, allocations: 0 / 410.1 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of Templates: time 0.01226/0.08442, allocations: 5.237 MB / 415.3 MB, free: 11.64 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.944913197075948]