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.00188/0.00188, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002326/0.002326, allocations: 219.7 kB / 23.73 MB, free: 4.164 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1863/0.1863, allocations: 38.56 MB / 352.5 MB, free: 12.34 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.002122/0.002122, allocations: 59.91 kB / 492.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, allocations: 62.47 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007824/0.3545, allocations: 5.066 MB / 0.5469 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.361, allocations: 3.639 MB / 0.5504 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.3614, allocations: 22.09 kB / 0.5505 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.3721, allocations: 5.318 MB / 0.5557 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.3731, allocations: 334.4 kB / 0.556 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.3737, allocations: 219.6 kB / 0.5562 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.3761, allocations: 1.633 MB / 0.5578 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007571/0.3768, allocations: 0.5222 MB / 0.5583 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.3773, allocations: 382.6 kB / 0.5587 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.3779, allocations: 430.3 kB / 0.5591 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.378, allocations: 56 kB / 0.5591 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.3782, allocations: 60 kB / 0.5592 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3785, allocations: 259.3 kB / 0.5594 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3788, allocations: 262.8 kB / 0.5597 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009411/0.3797, allocations: 0.8172 MB / 0.5605 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3797, allocations: 0 / 0.5605 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3797, allocations: 0 / 0.5605 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3797, allocations: 0 / 0.5605 GB, free: 1.281 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.001603/0.3813, allocations: 0.8104 MB / 0.5613 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3814, allocations: 11.98 kB / 0.5613 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.3815, allocations: 94.69 kB / 0.5614 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.3817, allocations: 72.5 kB / 0.5614 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3828, allocations: 0.4991 MB / 0.5619 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.3829, allocations: 29 kB / 0.5619 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/0.383, allocations: 47.98 kB / 0.562 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.384, allocations: 0.6297 MB / 0.5626 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.384, allocations: 11.94 kB / 0.5626 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.3841, allocations: 16 kB / 0.5626 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.3842, allocations: 44.97 kB / 0.5627 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.385, allocations: 467.6 kB / 0.5631 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.3885, allocations: 2.314 MB / 0.5654 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.389, allocations: 257.8 kB / 0.5656 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3892, allocations: 133.7 kB / 0.5658 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3892, allocations: 8 kB / 0.5658 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3893, allocations: 34.56 kB / 0.5658 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.3893, allocations: 0 / 0.5658 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003053/0.3923, allocations: 1.243 MB / 0.567 GB, free: 10.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3924, allocations: 85.05 kB / 0.5671 GB, free: 10.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.3929, allocations: 425.7 kB / 0.5675 GB, free: 9.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.3929, allocations: 33.7 kB / 0.5675 GB, free: 9.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.3932, allocations: 308.2 kB / 0.5678 GB, free: 9.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3933, allocations: 115 kB / 0.5679 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3935, allocations: 86.08 kB / 0.568 GB, free: 9.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3937, allocations: 354.7 kB / 0.5684 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.3939, allocations: 136.7 kB / 0.5685 GB, free: 8.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.3943, allocations: 276 kB / 0.5687 GB, free: 8.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.3949, allocations: 461.9 kB / 0.5692 GB, free: 7.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3949, allocations: 7.938 kB / 0.5692 GB, free: 7.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001158/0.3961, allocations: 0.5965 MB / 0.5698 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3961, allocations: 4 kB / 0.5698 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3961, allocations: 8 kB / 0.5698 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.3966, allocations: 145.5 kB / 0.5699 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.3969, allocations: 75.91 kB / 0.57 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/0.4008, allocations: 3.446 MB / 0.5734 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.4011, allocations: 19.98 kB / 0.5734 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.4011, allocations: 20.12 kB / 0.5734 GB, free: 3.289 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.0003528/0.4014, allocations: 233.7 kB / 0.5736 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.4015, allocations: 47.66 kB / 0.5737 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.4026, allocations: 0.496 MB / 0.5742 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.4026, allocations: 8 kB / 0.5742 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007861/0.4034, allocations: 406.1 kB / 0.5746 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4034, allocations: 3.938 kB / 0.5746 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.4051, allocations: 0.9265 MB / 0.5755 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4051, allocations: 4 kB / 0.5755 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.4053, allocations: 35.98 kB / 0.5755 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.4056, allocations: 100.7 kB / 0.5756 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4056, allocations: 7.984 kB / 0.5756 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.4079, allocations: 1.905 MB / 0.5775 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4079, allocations: 4.031 kB / 0.5775 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4089, allocations: 0.6514 MB / 0.5781 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.4091, allocations: 63.72 kB / 0.5782 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.4092, allocations: 11.95 kB / 0.5782 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.4093, allocations: 8 kB / 0.5782 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.4094, allocations: 31.83 kB / 0.5782 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4094, allocations: 8 kB / 0.5782 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.4098, allocations: 299.1 kB / 0.5785 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4098, allocations: 4 kB / 0.5785 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005516/0.4103, allocations: 116 kB / 0.5786 GB, free: 13.7 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.001351/0.4117, allocations: 1.197 MB / 0.5798 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4128, allocations: 0.5955 MB / 0.5804 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4128, allocations: 4 kB / 0.5804 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.4133, allocations: 286.4 kB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.4139, allocations: 120.1 kB / 0.5808 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.4209, allocations: 4.622 MB / 0.5853 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.4212, allocations: 323.7 kB / 0.5856 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.4215, allocations: 72.33 kB / 0.5857 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.4218, allocations: 183.4 kB / 0.5858 GB, free: 5.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4218, allocations: 0 / 0.5858 GB, free: 5.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/0.4782, allocations: 11.41 MB / 0.597 GB, free: 10.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.31, allocations: 3.938 kB / 0.597 GB, free: 10.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.318629018962383]