Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.00174/0.00174, allocations: 118 kB / 18.45 MB, free: 4.566 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.002315/0.002315, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.48/1.48, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] 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.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002398/0.002398, allocations: 51.92 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09979, allocations: 49.14 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01179/0.1116, allocations: 9.006 MB / 400.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.1187, allocations: 3.21 MB / 403.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1201, allocations: 47.69 kB / 403.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.1222, allocations: 0.7263 MB / 404.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1248, allocations: 0.7574 MB / 405.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.1258, allocations: 323.5 kB / 405.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.1288, allocations: 2.105 MB / 407.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.1303, allocations: 0.9996 MB / 408.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.1318, allocations: 0.9343 MB / 409.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.1336, allocations: 1.16 MB / 410.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000428/0.134, allocations: 228 kB / 410.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.1347, allocations: 327.8 kB / 411.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007648/0.1355, allocations: 0.6816 MB / 411.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.1369, allocations: 1.085 MB / 413 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.1408, allocations: 3.114 MB / 416.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1409, allocations: 4 kB / 416.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1409, allocations: 0 / 416.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.974e-05/0.1409, allocations: 0 / 416.1 MB, free: 15.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005384/0.1463, allocations: 2.322 MB / 418.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1464, allocations: 8.031 kB / 418.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003507/0.1467, allocations: 236.3 kB / 418.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000707/0.1474, allocations: 231.6 kB / 418.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.1497, allocations: 1.177 MB / 420.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1499, allocations: 115.2 kB / 420.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.1501, allocations: 156 kB / 420.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/0.1541, allocations: 2.008 MB / 422.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.463e-05/0.1542, allocations: 3.953 kB / 422.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.1544, allocations: 64 kB / 422.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.1545, allocations: 78.91 kB / 422.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003382/0.1578, allocations: 1.643 MB / 424.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.1698, allocations: 6.919 MB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.1707, allocations: 428.7 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.1711, allocations: 246 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.1713, allocations: 113.5 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.1713, allocations: 43.45 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.1713, allocations: 3.938 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007795/0.1791, allocations: 3.307 MB / 435.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002789/0.1819, allocations: 2.338 MB / 437.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.1848, allocations: 1.623 MB / 439.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.185, allocations: 37.7 kB / 439.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/0.1859, allocations: 1.053 MB / 440.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.1862, allocations: 246 kB / 440.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004721/0.1867, allocations: 323.3 kB / 440.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1868, allocations: 305.1 kB / 441.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000891/0.1877, allocations: 0.5154 MB / 441.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.1894, allocations: 1.468 MB / 443.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/0.1922, allocations: 2.138 MB / 445.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.1923, allocations: 8 kB / 445.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004015/0.1963, allocations: 2.161 MB / 447.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.1963, allocations: 23.91 kB / 447.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.1964, allocations: 36.91 kB / 447.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.197, allocations: 230.4 kB / 447.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.1982, allocations: 387.3 kB / 448 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.2001, allocations: 1.855 MB / 449.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.2016, allocations: 143.7 kB / 450 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.2017, allocations: 100.1 kB / 450.1 MB, free: 11.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.2028, allocations: 0.5906 MB / 450.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.2031, allocations: 159 kB / 450.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.2053, allocations: 1.11 MB / 452 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2053, allocations: 8 kB / 452 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2053, allocations: 0 / 452 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2053, allocations: 4.219 kB / 452 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.2114, allocations: 3.39 MB / 455.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.2114, allocations: 4 kB / 455.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.2118, allocations: 115.8 kB / 455.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006525/0.2124, allocations: 218.4 kB / 455.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.2125, allocations: 16 kB / 455.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/0.2172, allocations: 4.058 MB / 459.8 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1805/0.3976, allocations: 2.159 MB / 462 MB, free: 61.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.4005, allocations: 1.743 MB / 463.7 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.4012, allocations: 318.2 kB / 464 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.4014, allocations: 25.3 kB / 464 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.402, allocations: 46.19 kB / 464.1 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4022, allocations: 60 kB / 464.1 MB, free: 60.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.4022, allocations: 25.14 kB / 464.2 MB, free: 60.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.4038, allocations: 1.077 MB / 465.2 MB, free: 60.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4038, allocations: 3.938 kB / 465.2 MB, free: 60.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001748/0.4056, allocations: 383.7 kB / 465.6 MB, free: 60.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002801/0.4084, allocations: 2.355 MB / 468 MB, free: 59.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.4109, allocations: 1.576 MB / 469.5 MB, free: 58.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.4109, allocations: 4.047 kB / 469.5 MB, free: 58.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.4121, allocations: 0.8171 MB / 470.4 MB, free: 58.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.4141, allocations: 409.4 kB / 470.8 MB, free: 58.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.4335, allocations: 15.29 MB / 486.1 MB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.4343, allocations: 1.472 MB / 487.5 MB, free: 48.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009642/0.4353, allocations: 351.1 kB / 487.9 MB, free: 47.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/0.4359, allocations: 0.6187 MB / 488.5 MB, free: 47.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4359, allocations: 0 / 488.5 MB, free: 47.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/0.5067, allocations: 36.62 MB / 0.5128 GB, free: 10.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.63, allocations: 4 kB / 0.5128 GB, free: 10.62 MB / 382.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SMPM_NoLoad_res.csv. Warning: Get data of variable constantSpeed.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.148711732006632]