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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.1 MB, free: 3.477 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2257/0.2257, allocations: 38.51 MB / 342.5 MB, free: 8.137 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> 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 0.00194/0.00194, allocations: 69.84 kB / 478.6 MB, free: 33.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, allocations: 61.25 MB / 0.5272 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00802/0.1266, allocations: 5.275 MB / 0.5324 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.1332, allocations: 3.987 MB / 0.5363 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.1337, allocations: 15.94 kB / 0.5363 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009217/0.1429, allocations: 4.808 MB / 0.541 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1439, allocations: 334.4 kB / 0.5413 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.1445, allocations: 215.6 kB / 0.5415 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.1466, allocations: 1.559 MB / 0.543 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007238/0.1473, allocations: 0.5143 MB / 0.5435 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.1478, allocations: 362.7 kB / 0.5439 GB, free: 400 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.1484, allocations: 442.3 kB / 0.5443 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.1485, allocations: 60 kB / 0.5443 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1486, allocations: 71.98 kB / 0.5444 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.1489, allocations: 251.3 kB / 0.5447 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.1493, allocations: 334.4 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.1503, allocations: 0.8095 MB / 0.5458 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1503, allocations: 0 / 0.5458 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1503, allocations: 3.938 kB / 0.5458 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1503, allocations: 4 kB / 0.5458 GB, free: 14.43 MB / 414.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.001708/0.152, allocations: 0.8741 MB / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.152, allocations: 15.89 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.1521, allocations: 90.69 kB / 0.5467 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.1524, allocations: 72.5 kB / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1535, allocations: 0.5648 MB / 0.5473 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.1535, allocations: 37 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1537, allocations: 47.97 kB / 0.5474 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.1546, allocations: 0.6296 MB / 0.548 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.1547, allocations: 7.953 kB / 0.5481 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.1547, allocations: 16 kB / 0.5481 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.1548, allocations: 48.97 kB / 0.5481 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.1556, allocations: 463.6 kB / 0.5486 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.159, allocations: 2.519 MB / 0.551 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.1594, allocations: 257.7 kB / 0.5513 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1596, allocations: 130.2 kB / 0.5514 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1596, allocations: 8 kB / 0.5514 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1597, allocations: 38.5 kB / 0.5514 GB, free: 8.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.1597, allocations: 0 / 0.5514 GB, free: 8.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003099/0.1628, allocations: 1.544 MB / 0.5529 GB, free: 6.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.1628, allocations: 81.23 kB / 0.553 GB, free: 6.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.1633, allocations: 421.8 kB / 0.5534 GB, free: 6.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1634, allocations: 29.7 kB / 0.5534 GB, free: 6.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.1636, allocations: 312.1 kB / 0.5537 GB, free: 5.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1637, allocations: 115 kB / 0.5539 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1638, allocations: 86.08 kB / 0.5539 GB, free: 5.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.164, allocations: 354.7 kB / 0.5543 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.1642, allocations: 132.8 kB / 0.5544 GB, free: 5.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1646, allocations: 274.3 kB / 0.5547 GB, free: 4.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.1652, allocations: 457.7 kB / 0.5551 GB, free: 4.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1652, allocations: 0 / 0.5551 GB, free: 4.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001177/0.1664, allocations: 0.6798 MB / 0.5558 GB, free: 3.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1664, allocations: 8 kB / 0.5558 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.1664, allocations: 11.92 kB / 0.5558 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.1669, allocations: 141.6 kB / 0.5559 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.1672, allocations: 75.89 kB / 0.556 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.171, allocations: 3.684 MB / 0.5596 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.1713, allocations: 16 kB / 0.5596 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.1713, allocations: 16 kB / 0.5596 GB, free: 15.32 MB / 430.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.0003726/0.1717, allocations: 233.7 kB / 0.5598 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.1718, allocations: 47.66 kB / 0.5599 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1728, allocations: 0.5673 MB / 0.5604 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1728, allocations: 4 kB / 0.5604 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007476/0.1736, allocations: 491.6 kB / 0.5609 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1736, allocations: 0 / 0.5609 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.1752, allocations: 1.005 MB / 0.5619 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1752, allocations: 0 / 0.5619 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.1754, allocations: 35.98 kB / 0.5619 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.1756, allocations: 88.78 kB / 0.562 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1757, allocations: 11.98 kB / 0.562 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.1779, allocations: 2.028 MB / 0.564 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1779, allocations: 0 / 0.564 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.1788, allocations: 0.6431 MB / 0.5646 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.179, allocations: 140.8 kB / 0.5648 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.1791, allocations: 8 kB / 0.5648 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1793, allocations: 11.98 kB / 0.5648 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.1793, allocations: 27.97 kB / 0.5648 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1793, allocations: 8 kB / 0.5648 GB, free: 9.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.1797, allocations: 303.1 kB / 0.5651 GB, free: 9.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1797, allocations: 0 / 0.5651 GB, free: 9.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.1802, allocations: 119.9 kB / 0.5652 GB, free: 9.246 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.001281/0.1815, allocations: 1.185 MB / 0.5664 GB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1826, allocations: 0.607 MB / 0.567 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1826, allocations: 0 / 0.567 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.1831, allocations: 295.8 kB / 0.5673 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.1837, allocations: 123.3 kB / 0.5674 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.1906, allocations: 4.781 MB / 0.572 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.1913, allocations: 0.9167 MB / 0.5729 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003028/0.1916, allocations: 72.33 kB / 0.573 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.1919, allocations: 183.4 kB / 0.5732 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1919, allocations: 0 / 0.5732 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.2382, allocations: 10.54 MB / 0.5835 GB, free: 6.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.18, allocations: 5.172 kB / 0.5835 GB, free: 6.363 MB / 446.1 MB " [Timeout remaining time 649] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.181320546194911]