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.001637/0.001637, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001791/0.001791, allocations: 212.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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.1976/0.1976, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 67.89 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007233/0.3209, allocations: 5.064 MB / 0.5469 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006004/0.3269, allocations: 3.647 MB / 0.5504 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.3273, allocations: 22.44 kB / 0.5505 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009939/0.3373, allocations: 5.305 MB / 0.5556 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009915/0.3382, allocations: 334.5 kB / 0.556 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.3388, allocations: 219.6 kB / 0.5562 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.3414, allocations: 1.629 MB / 0.5578 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000817/0.3422, allocations: 0.5222 MB / 0.5583 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005723/0.3427, allocations: 382.7 kB / 0.5586 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.3434, allocations: 430.3 kB / 0.5591 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.3435, allocations: 52 kB / 0.5591 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3436, allocations: 71.98 kB / 0.5592 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.3439, allocations: 251.3 kB / 0.5594 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.3442, allocations: 258.9 kB / 0.5597 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3452, allocations: 0.8211 MB / 0.5605 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3452, allocations: 0 / 0.5605 GB, free: 1.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3452, allocations: 3.938 kB / 0.5605 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3452, allocations: 4 kB / 0.5605 GB, free: 1.234 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.001671/0.3469, allocations: 0.8123 MB / 0.5613 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3469, allocations: 15.98 kB / 0.5613 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.347, allocations: 86.7 kB / 0.5614 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.3473, allocations: 76.52 kB / 0.5614 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3484, allocations: 0.4991 MB / 0.5619 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3485, allocations: 29 kB / 0.5619 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.3485, allocations: 51.98 kB / 0.562 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.3495, allocations: 0.6297 MB / 0.5626 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.3496, allocations: 3.938 kB / 0.5626 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.3496, allocations: 19.98 kB / 0.5626 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.3497, allocations: 48.97 kB / 0.5627 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.3505, allocations: 463.6 kB / 0.5631 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.3537, allocations: 2.306 MB / 0.5654 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.3542, allocations: 269.1 kB / 0.5656 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.3544, allocations: 133.7 kB / 0.5658 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3545, allocations: 4 kB / 0.5658 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3545, allocations: 42.5 kB / 0.5658 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.003e-06/0.3545, allocations: 0 / 0.5658 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00288/0.3574, allocations: 1.24 MB / 0.567 GB, free: 10.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3575, allocations: 85.05 kB / 0.5671 GB, free: 10.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.358, allocations: 425.7 kB / 0.5675 GB, free: 9.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.358, allocations: 33.7 kB / 0.5675 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.3583, allocations: 304.2 kB / 0.5678 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3584, allocations: 119 kB / 0.5679 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3585, allocations: 78.09 kB / 0.568 GB, free: 9.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3587, allocations: 362.7 kB / 0.5684 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.3589, allocations: 136.8 kB / 0.5685 GB, free: 8.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.3593, allocations: 274.3 kB / 0.5687 GB, free: 8.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.3599, allocations: 453.9 kB / 0.5692 GB, free: 7.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3599, allocations: 4 kB / 0.5692 GB, free: 7.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001082/0.361, allocations: 0.5963 MB / 0.5698 GB, free: 7.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.361, allocations: 8 kB / 0.5698 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.361, allocations: 7.938 kB / 0.5698 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.3615, allocations: 141.5 kB / 0.5699 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3617, allocations: 79.89 kB / 0.57 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.3654, allocations: 3.458 MB / 0.5734 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.3657, allocations: 16 kB / 0.5734 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.3657, allocations: 20 kB / 0.5734 GB, free: 3.238 MB / 414.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.0002941/0.366, allocations: 229.7 kB / 0.5736 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.3661, allocations: 51.66 kB / 0.5737 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009503/0.367, allocations: 0.4961 MB / 0.5742 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.367, allocations: 4 kB / 0.5742 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007407/0.3678, allocations: 406.1 kB / 0.5745 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3678, allocations: 3.984 kB / 0.5746 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.3693, allocations: 0.9343 MB / 0.5755 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3693, allocations: 0 / 0.5755 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3695, allocations: 43.97 kB / 0.5755 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.3698, allocations: 84.78 kB / 0.5756 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.3698, allocations: 12.09 kB / 0.5756 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.3721, allocations: 1.893 MB / 0.5774 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3721, allocations: 12.03 kB / 0.5775 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3731, allocations: 0.6553 MB / 0.5781 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.3733, allocations: 67.64 kB / 0.5782 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3733, allocations: 8 kB / 0.5782 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3735, allocations: 11.98 kB / 0.5782 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.3736, allocations: 27.89 kB / 0.5782 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3736, allocations: 12 kB / 0.5782 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.374, allocations: 303.1 kB / 0.5785 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.374, allocations: 64 / 0.5785 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.3745, allocations: 127.9 kB / 0.5786 GB, free: 13.64 MB / 430.1 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.001321/0.3758, allocations: 1.177 MB / 0.5798 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3769, allocations: 0.5994 MB / 0.5804 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3769, allocations: 0 / 0.5804 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.3774, allocations: 287.3 kB / 0.5806 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.378, allocations: 123.7 kB / 0.5808 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.3844, allocations: 4.624 MB / 0.5853 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3848, allocations: 323.7 kB / 0.5856 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.385, allocations: 76.33 kB / 0.5857 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3853, allocations: 183.4 kB / 0.5858 GB, free: 5.93 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3853, allocations: 0 / 0.5858 GB, free: 5.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.4313, allocations: 11.41 MB / 0.597 GB, free: 10.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 4.062 kB / 0.597 GB, free: 10.74 MB / 446.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv","/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) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv failed! Error: Could not read variable asm.motor.slip in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv. Warning: Get data of variable asm.motor.slip from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.194765807129443]