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.001634/0.001634, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1896/0.1896, allocations: 38.52 MB / 352.5 MB, free: 12.62 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.00319/0.00319, allocations: 63.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3086, allocations: 62.48 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007292/0.3158, allocations: 5.404 MB / 0.5473 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.3219, allocations: 4.037 MB / 0.5512 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.3222, allocations: 23.56 kB / 0.5512 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.3328, allocations: 5.43 MB / 0.5565 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009052/0.3337, allocations: 338.4 kB / 0.5569 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3343, allocations: 215.7 kB / 0.5571 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.3366, allocations: 1.645 MB / 0.5587 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.3374, allocations: 0.5261 MB / 0.5592 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.3379, allocations: 378.7 kB / 0.5596 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.3385, allocations: 442.3 kB / 0.56 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.3386, allocations: 56 kB / 0.56 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3388, allocations: 67.98 kB / 0.5601 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3391, allocations: 267.2 kB / 0.5604 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.3394, allocations: 322.5 kB / 0.5607 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.3404, allocations: 0.8095 MB / 0.5614 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3404, allocations: 4 kB / 0.5615 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3404, allocations: 3.938 kB / 0.5615 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3405, allocations: 0 / 0.5615 GB, free: 0.543 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.001675/0.3421, allocations: 0.8027 MB / 0.5622 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3422, allocations: 19.98 kB / 0.5623 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.3423, allocations: 86.7 kB / 0.5623 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.3426, allocations: 72.5 kB / 0.5624 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3436, allocations: 0.4952 MB / 0.5629 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3437, allocations: 32.94 kB / 0.5629 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.3438, allocations: 51.97 kB / 0.563 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/0.3447, allocations: 0.6297 MB / 0.5636 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3448, allocations: 4 kB / 0.5636 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.3448, allocations: 19.98 kB / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.3449, allocations: 44.97 kB / 0.5637 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.3457, allocations: 471.5 kB / 0.5641 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.349, allocations: 2.427 MB / 0.5665 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3495, allocations: 265.1 kB / 0.5667 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3497, allocations: 129.7 kB / 0.5669 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3497, allocations: 4 kB / 0.5669 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3497, allocations: 42.44 kB / 0.5669 GB, free: 10.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.3497, allocations: 0 / 0.5669 GB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00283/0.3526, allocations: 1.251 MB / 0.5681 GB, free: 9.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3526, allocations: 81.11 kB / 0.5682 GB, free: 9.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.3531, allocations: 417.8 kB / 0.5686 GB, free: 8.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3532, allocations: 33.7 kB / 0.5686 GB, free: 8.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.3534, allocations: 300.2 kB / 0.5689 GB, free: 8.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3535, allocations: 119 kB / 0.569 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3537, allocations: 90.11 kB / 0.5691 GB, free: 8.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3538, allocations: 354.7 kB / 0.5695 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3541, allocations: 132.8 kB / 0.5696 GB, free: 7.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.3545, allocations: 274.3 kB / 0.5698 GB, free: 7.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.3551, allocations: 453.9 kB / 0.5703 GB, free: 7.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3551, allocations: 0 / 0.5703 GB, free: 7.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001117/0.3562, allocations: 0.6001 MB / 0.5709 GB, free: 6.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3563, allocations: 4 kB / 0.5709 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3563, allocations: 7.938 kB / 0.5709 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.3567, allocations: 149.9 kB / 0.571 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.357, allocations: 71.84 kB / 0.5711 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.3608, allocations: 3.473 MB / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3611, allocations: 15.98 kB / 0.5745 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.3611, allocations: 16 kB / 0.5745 GB, free: 2.434 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.0003586/0.3615, allocations: 245.7 kB / 0.5747 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3616, allocations: 51.61 kB / 0.5748 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3626, allocations: 0.4883 MB / 0.5753 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3626, allocations: 11.92 kB / 0.5753 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007844/0.3634, allocations: 406.1 kB / 0.5757 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3634, allocations: 4.031 kB / 0.5757 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.365, allocations: 0.9615 MB / 0.5766 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.365, allocations: 8.094 kB / 0.5766 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.3653, allocations: 39.91 kB / 0.5767 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.3655, allocations: 96.77 kB / 0.5767 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3656, allocations: 4 kB / 0.5767 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.3679, allocations: 1.92 MB / 0.5786 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3679, allocations: 4 kB / 0.5786 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3689, allocations: 0.647 MB / 0.5793 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3691, allocations: 71.61 kB / 0.5793 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3691, allocations: 8 kB / 0.5793 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3693, allocations: 8 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3694, allocations: 23.95 kB / 0.5794 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3694, allocations: 4 kB / 0.5794 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.3697, allocations: 303.1 kB / 0.5797 GB, free: 12.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 0 / 0.5797 GB, free: 12.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.3703, allocations: 132 kB / 0.5798 GB, free: 12.78 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.001356/0.3717, allocations: 1.177 MB / 0.5809 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3727, allocations: 0.5959 MB / 0.5815 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3727, allocations: 0 / 0.5815 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.3732, allocations: 294.4 kB / 0.5818 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.3738, allocations: 117.7 kB / 0.5819 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.3802, allocations: 4.625 MB / 0.5864 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.3808, allocations: 0.9204 MB / 0.5873 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.3811, allocations: 72.34 kB / 0.5874 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.3813, allocations: 183.4 kB / 0.5876 GB, free: 4.465 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3813, allocations: 0 / 0.5876 GB, free: 4.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.4291, allocations: 10.88 MB / 0.5982 GB, free: 9.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.95, allocations: 8.047 kB / 0.5982 GB, free: 9.746 MB / 446.1 MB " [Timeout remaining time 647] (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.878496493998682]