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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 190.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.173/0.173, allocations: 38.03 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2853, allocations: 58.06 MB / 0.5048 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005412/0.2908, allocations: 5.225 MB / 0.5099 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.2955, allocations: 3.968 MB / 0.5137 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.2959, allocations: 14.66 kB / 0.5138 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009759/0.3056, allocations: 4.793 MB / 0.5184 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.3069, allocations: 320.3 kB / 0.5187 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006118/0.3075, allocations: 218.7 kB / 0.519 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.3101, allocations: 1.552 MB / 0.5205 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009759/0.3111, allocations: 0.5986 MB / 0.5211 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.3117, allocations: 368.7 kB / 0.5214 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.3122, allocations: 415 kB / 0.5218 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.3123, allocations: 59.81 kB / 0.5219 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.3125, allocations: 66.84 kB / 0.5219 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.3128, allocations: 255.2 kB / 0.5222 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.3132, allocations: 317.9 kB / 0.5225 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.3141, allocations: 0.814 MB / 0.5233 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3141, allocations: 0 / 0.5233 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3141, allocations: 0 / 0.5233 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3142, allocations: 1.438 kB / 0.5233 GB, free: 13.88 MB / 398.1 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.001558/0.3157, allocations: 0.8741 MB / 0.5241 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3158, allocations: 12.02 kB / 0.5241 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.3161, allocations: 73.3 kB / 0.5242 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3171, allocations: 0.5578 MB / 0.5247 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3171, allocations: 34.89 kB / 0.5248 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.3172, allocations: 50.77 kB / 0.5248 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.3181, allocations: 0.6265 MB / 0.5254 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3182, allocations: 6.844 kB / 0.5254 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.3182, allocations: 20.88 kB / 0.5255 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.3184, allocations: 48.69 kB / 0.5255 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.3191, allocations: 467.6 kB / 0.526 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.322, allocations: 2.497 MB / 0.5284 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.3225, allocations: 288 kB / 0.5287 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.3227, allocations: 148.9 kB / 0.5288 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3227, allocations: 3.812 kB / 0.5288 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3228, allocations: 36.94 kB / 0.5289 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.3228, allocations: 0 / 0.5289 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002704/0.3255, allocations: 1.538 MB / 0.5304 GB, free: 8.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3255, allocations: 81.33 kB / 0.5304 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.3259, allocations: 421.5 kB / 0.5308 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.326, allocations: 35.64 kB / 0.5309 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3262, allocations: 294.8 kB / 0.5312 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3263, allocations: 113.6 kB / 0.5313 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3264, allocations: 85.34 kB / 0.5313 GB, free: 8.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3265, allocations: 353.9 kB / 0.5317 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3268, allocations: 131.1 kB / 0.5318 GB, free: 7.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.3271, allocations: 277.5 kB / 0.5321 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.3276, allocations: 452.9 kB / 0.5325 GB, free: 7.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3276, allocations: 1.094 kB / 0.5325 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001054/0.3287, allocations: 0.6745 MB / 0.5332 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3287, allocations: 10.81 kB / 0.5332 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3287, allocations: 5.156 kB / 0.5332 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.3292, allocations: 154.9 kB / 0.5333 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3295, allocations: 73.53 kB / 0.5334 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3326, allocations: 3.676 MB / 0.537 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.3329, allocations: 18.22 kB / 0.537 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.3329, allocations: 20.44 kB / 0.537 GB, free: 3.102 MB / 398.1 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.0002628/0.3332, allocations: 235.1 kB / 0.5372 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.3333, allocations: 40.41 kB / 0.5373 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009396/0.3342, allocations: 0.5795 MB / 0.5378 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3342, allocations: 5.391 kB / 0.5379 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3343, allocations: 0 / 0.5379 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3344, allocations: 133 kB / 0.538 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3345, allocations: 10.39 kB / 0.538 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3347, allocations: 6.594 kB / 0.538 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.3347, allocations: 37.02 kB / 0.538 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001091/0.3358, allocations: 0.6419 MB / 0.5387 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007638/0.3366, allocations: 0.7379 MB / 0.5394 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001995/0.3368, allocations: 155.8 kB / 0.5395 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.3372, allocations: 297.2 kB / 0.5398 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Backend: time 4.6e-07/0.3372, allocations: 1.531 kB / 0.5398 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3384, allocations: 0.5976 MB / 0.5404 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of SimCode: time 0.002015/0.3404, allocations: 1.649 MB / 0.542 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Templates: time 0.01191/0.3523, allocations: 6.236 MB / 0.5481 GB, free: 11.27 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches