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.0008785/0.0008785, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009995/0.0009995, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 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 0.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2279/0.2279, allocations: 29.41 MB / 290.1 MB, free: 2.449 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: "" <> 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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.046e-05, allocations: 2.844 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005024/0.005044, allocations: 5.061 MB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.009962, allocations: 3.634 MB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.01029, allocations: 23.81 kB / 438.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1928/0.2031, allocations: 5.364 MB / 444.3 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.2039, allocations: 338.8 kB / 444.6 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.2044, allocations: 226 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2058, allocations: 1.651 MB / 446.5 MB, free: 46.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005136/0.2063, allocations: 0.5212 MB / 447 MB, free: 46.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.2067, allocations: 0.5064 MB / 447.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.2071, allocations: 382.3 kB / 447.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.2071, allocations: 57.19 kB / 448 MB, free: 46.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.2073, allocations: 66.91 kB / 448 MB, free: 46.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2074, allocations: 273.1 kB / 448.3 MB, free: 46.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2076, allocations: 218.9 kB / 448.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.2081, allocations: 0.8143 MB / 449.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2081, allocations: 3.969 kB / 449.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2081, allocations: 0 / 449.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2081, allocations: 3.938 kB / 449.3 MB, free: 46.21 MB / 410.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.0009629/0.2091, allocations: 0.8052 MB / 450.1 MB, free: 45.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2091, allocations: 14.08 kB / 450.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.2092, allocations: 92.47 kB / 450.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2094, allocations: 76.77 kB / 450.3 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.21, allocations: 494.6 kB / 450.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.21, allocations: 34.89 kB / 450.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.2101, allocations: 49.55 kB / 450.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.2107, allocations: 0.6363 MB / 451.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2107, allocations: 2.438 kB / 451.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.2107, allocations: 24.55 kB / 451.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-05/0.2108, allocations: 43.97 kB / 451.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.2112, allocations: 468.5 kB / 452 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2128, allocations: 2.321 MB / 454.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.2131, allocations: 257.7 kB / 454.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.2132, allocations: 131.4 kB / 454.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2133, allocations: 3.031 kB / 454.7 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2133, allocations: 42.27 kB / 454.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.016e-06/0.2133, allocations: 0 / 454.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001756/0.2151, allocations: 1.236 MB / 456 MB, free: 42.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2151, allocations: 83.64 kB / 456.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.2153, allocations: 421 kB / 456.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2153, allocations: 33.17 kB / 456.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2154, allocations: 317.3 kB / 456.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.2155, allocations: 119.4 kB / 457 MB, free: 42.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.2156, allocations: 78.28 kB / 457 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.2156, allocations: 357.5 kB / 457.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2157, allocations: 126 kB / 457.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2159, allocations: 277.4 kB / 457.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2162, allocations: 455.9 kB / 458.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2162, allocations: 0 / 458.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006241/0.2168, allocations: 0.5999 MB / 458.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2169, allocations: 9.938 kB / 458.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2169, allocations: 3.281 kB / 458.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.2172, allocations: 144.2 kB / 459 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2173, allocations: 82.86 kB / 459.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.219, allocations: 3.441 MB / 462.5 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2191, allocations: 21.69 kB / 462.5 MB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.2191, allocations: 19.69 kB / 462.6 MB, free: 37.95 MB / 410.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.0001783/0.2193, allocations: 235.9 kB / 462.8 MB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2193, allocations: 45.5 kB / 462.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.2199, allocations: 0.4989 MB / 463.3 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2199, allocations: 3.031 kB / 463.3 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003708/0.2202, allocations: 404.2 kB / 463.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2202, allocations: 7.453 kB / 463.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008505/0.2211, allocations: 0.9293 MB / 464.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2211, allocations: 0 / 464.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2212, allocations: 45.09 kB / 464.7 MB, free: 36.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.2214, allocations: 88.27 kB / 464.8 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2214, allocations: 7.156 kB / 464.8 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009443/0.2223, allocations: 1.906 MB / 466.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2223, allocations: 1.875 kB / 466.7 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.2228, allocations: 0.6488 MB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.2229, allocations: 62.61 kB / 467.4 MB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2229, allocations: 11.22 kB / 467.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.223, allocations: 10.67 kB / 467.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.2231, allocations: 24.22 kB / 467.5 MB, free: 34.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2231, allocations: 10.53 kB / 467.5 MB, free: 34.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.2233, allocations: 300.7 kB / 467.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2233, allocations: 3.281 kB / 467.8 MB, free: 34.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.2236, allocations: 116.5 kB / 467.9 MB, free: 34.68 MB / 410.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.0006077/0.2242, allocations: 1.18 MB / 469.1 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.2248, allocations: 0.5889 MB / 469.6 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2248, allocations: 1.25 kB / 469.7 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.225, allocations: 304.5 kB / 469.9 MB, free: 33.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.2255, allocations: 116.7 kB / 470.1 MB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.229, allocations: 4.568 MB / 474.6 MB, free: 30.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2293, allocations: 321.5 kB / 474.9 MB, free: 30.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.2294, allocations: 79.61 kB / 475 MB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2296, allocations: 183.7 kB / 475.2 MB, free: 30.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2296, allocations: 0 / 475.2 MB, free: 30.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.259, allocations: 11.55 MB / 486.7 MB, free: 28.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.222, allocations: 5.219 kB / 486.8 MB, free: 28.46 MB / 410.7 MB " [Timeout remaining time 653] (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/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: 9.208619451150298]