Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.001201/0.001201, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005225/0.005225, allocations: 161.2 kB / 24.69 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8671/0.8671, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.628e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.1385/0.1385, allocations: 10.03 MB / 308.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.1451, allocations: 3.709 MB / 312.2 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1462, allocations: 66.69 kB / 312.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.1477, allocations: 0.8277 MB / 313.1 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1495, allocations: 1.022 MB / 314.1 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.1503, allocations: 0.5184 MB / 314.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.1538, allocations: 3.338 MB / 318 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.1555, allocations: 1.405 MB / 319.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.1579, allocations: 2.134 MB / 321.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.1598, allocations: 1.558 MB / 323.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006149/0.1604, allocations: 390.7 kB / 323.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.1613, allocations: 0.6082 MB / 324.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.1619, allocations: 1.104 MB / 325.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1631, allocations: 1.187 MB / 326.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.1669, allocations: 5.113 MB / 331.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1669, allocations: 0 / 331.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.167, allocations: 0 / 331.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.1671, allocations: 0 / 331.5 MB, free: 12.79 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.005352/0.1724, allocations: 3.443 MB / 334.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1725, allocations: 11.98 kB / 334.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.1728, allocations: 370.9 kB / 335.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.1736, allocations: 426.7 kB / 335.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.1755, allocations: 1.667 MB / 337.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.1756, allocations: 189.4 kB / 337.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.1759, allocations: 248.5 kB / 337.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.181, allocations: 3.382 MB / 341.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.904e-05/0.1811, allocations: 8 kB / 341.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003996/0.1815, allocations: 96 kB / 341.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.1817, allocations: 116.9 kB / 341.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00635/0.188, allocations: 2.701 MB / 344.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01985/0.2079, allocations: 9.298 MB / 353.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.2101, allocations: 1.255 MB / 354.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.2121, allocations: 0.9796 MB / 355.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.2123, allocations: 48.97 kB / 355.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.2124, allocations: 47.5 kB / 355.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 4.428e-06/0.2124, allocations: 1.5 kB / 355.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.01801/0.2304, allocations: 7.073 MB / 362.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2305, allocations: 64.72 kB / 362.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.2341, allocations: 1.9 MB / 364.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.2343, allocations: 45.7 kB / 364.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.2356, allocations: 1.276 MB / 366.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.236, allocations: 483.9 kB / 366.5 MB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004972/0.2365, allocations: 299.4 kB / 366.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.2366, allocations: 305.1 kB / 367.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2382, allocations: 0.8081 MB / 367.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.2397, allocations: 1.313 MB / 369.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.2419, allocations: 2.251 MB / 371.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.2419, allocations: 4 kB / 371.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003412/0.2453, allocations: 2.717 MB / 374.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2453, allocations: 12 kB / 374.2 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.2454, allocations: 16 kB / 374.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.2461, allocations: 426.2 kB / 374.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/0.2469, allocations: 395.3 kB / 375.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.2515, allocations: 5.537 MB / 380.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.2529, allocations: 123.8 kB / 380.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.2531, allocations: 75.92 kB / 380.8 MB, free: 11.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.2545, allocations: 0.7862 MB / 381.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.2548, allocations: 206.7 kB / 381.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.2577, allocations: 2.3 MB / 384.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.2577, allocations: 15.98 kB / 384.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.2577, allocations: 4 kB / 384.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.2578, allocations: 7.969 kB / 384.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007073/0.2648, allocations: 4.855 MB / 389 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.2648, allocations: 12 kB / 389 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.2655, allocations: 251.6 kB / 389.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008519/0.2664, allocations: 458.3 kB / 389.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.2665, allocations: 35.98 kB / 389.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.2721, allocations: 6.967 MB / 396.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2721, allocations: 7.938 kB / 396.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/0.2766, allocations: 3.489 MB / 400.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009562/0.2776, allocations: 378.6 kB / 400.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.2778, allocations: 39.98 kB / 400.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.2785, allocations: 107.9 kB / 400.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/0.2791, allocations: 120.7 kB / 400.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.2791, allocations: 39.98 kB / 400.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001628/0.2807, allocations: 1.294 MB / 402.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2807, allocations: 0 / 402.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001705/0.2825, allocations: 0.5428 MB / 402.7 MB, free: 4.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004364/0.2868, allocations: 4.162 MB / 406.8 MB, free: 324 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.2901, allocations: 2.259 MB / 409.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.2901, allocations: 4 kB / 409.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.2918, allocations: 1.459 MB / 410.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.2939, allocations: 450.6 kB / 411 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/0.324, allocations: 20.34 MB / 431.3 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.3254, allocations: 1.454 MB / 432.8 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001074/0.3265, allocations: 427.7 kB / 433.2 MB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.3275, allocations: 0.9885 MB / 434.2 MB, free: 4.066 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3275, allocations: 0 / 434.2 MB, free: 4.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.5363, allocations: 52.04 MB / 486.2 MB, free: 136.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.952, allocations: 0.5156 kB / 486.2 MB, free: 136.9 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSpeed.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.490713321603835]