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.001823/0.001823, allocations: 121.5 kB / 19.17 MB, free: 3.898 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.002105/0.002105, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.369/1.369, allocations: 207.6 MB / 232.5 MB, free: 3.957 MB / 174.1 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.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="cs",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="cs",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.001732/0.001732, allocations: 55.92 kB / 343 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.09007, allocations: 49.13 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01128/0.1013, allocations: 9.007 MB / 401.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.1077, allocations: 3.213 MB / 404.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1087, allocations: 47.69 kB / 404.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1106, allocations: 0.7224 MB / 405.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.1128, allocations: 0.7496 MB / 405.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.1136, allocations: 331.4 kB / 406.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.1161, allocations: 2.098 MB / 408.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.1175, allocations: 1.003 MB / 409.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1188, allocations: 0.9305 MB / 410.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.1203, allocations: 1.16 MB / 411.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.1207, allocations: 228 kB / 411.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.1212, allocations: 327.8 kB / 411.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007316/0.122, allocations: 0.6817 MB / 412.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.1231, allocations: 1.089 MB / 413.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.1266, allocations: 3.114 MB / 416.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1266, allocations: 0 / 416.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1266, allocations: 4 kB / 416.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.1266, allocations: 0 / 416.8 MB, free: 15.85 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.004539/0.1312, allocations: 2.322 MB / 419.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1312, allocations: 8.031 kB / 419.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.341e-05/0.1313, allocations: 43.27 kB / 419.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003012/0.1316, allocations: 228.3 kB / 419.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.1322, allocations: 235.6 kB / 419.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.1341, allocations: 1.174 MB / 420.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1343, allocations: 123 kB / 420.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.1345, allocations: 152 kB / 421.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.1377, allocations: 2 MB / 423.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.507e-05/0.1377, allocations: 15.89 kB / 423.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.1379, allocations: 60 kB / 423.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-05/0.138, allocations: 78.91 kB / 423.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.1407, allocations: 1.651 MB / 424.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009858/0.1506, allocations: 6.911 MB / 431.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.1514, allocations: 433 kB / 432.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.1518, allocations: 250 kB / 432.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.152, allocations: 113.5 kB / 432.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.152, allocations: 43 kB / 432.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.554e-06/0.152, allocations: 3.938 kB / 432.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007318/0.1593, allocations: 3.311 MB / 435.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002634/0.162, allocations: 2.33 MB / 438.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.1644, allocations: 1.623 MB / 439.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.1644, allocations: 37.7 kB / 439.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/0.1653, allocations: 1.053 MB / 441 MB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.1655, allocations: 246 kB / 441.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.166, allocations: 319.3 kB / 441.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1661, allocations: 309.1 kB / 441.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/0.167, allocations: 0.5192 MB / 442.4 MB, free: 5.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.1686, allocations: 1.464 MB / 443.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.1713, allocations: 2.134 MB / 445.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.1713, allocations: 8 kB / 446 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003643/0.1749, allocations: 2.17 MB / 448.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.1749, allocations: 16 kB / 448.1 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.175, allocations: 40.12 kB / 448.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/0.1756, allocations: 226.4 kB / 448.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.1767, allocations: 395.2 kB / 448.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.1786, allocations: 1.848 MB / 450.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.1799, allocations: 143.7 kB / 450.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.18, allocations: 95.98 kB / 450.9 MB, free: 11.86 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.000961/0.181, allocations: 0.5905 MB / 451.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.1812, allocations: 159 kB / 451.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.1832, allocations: 1.106 MB / 452.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1832, allocations: 8 kB / 452.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1832, allocations: 4.062 kB / 452.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1833, allocations: 0 / 452.7 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.1887, allocations: 3.39 MB / 456.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.1887, allocations: 8 kB / 456.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.1891, allocations: 111.8 kB / 456.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006397/0.1897, allocations: 222.4 kB / 456.5 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.1898, allocations: 24.22 kB / 456.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.1941, allocations: 4.05 MB / 460.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1581/0.3522, allocations: 2.164 MB / 462.7 MB, free: 61.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.3552, allocations: 1.753 MB / 464.4 MB, free: 60.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/0.3557, allocations: 311.4 kB / 464.8 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.3559, allocations: 23.36 kB / 464.8 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.3566, allocations: 44.86 kB / 464.8 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3567, allocations: 70.02 kB / 464.9 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.3567, allocations: 22.2 kB / 464.9 MB, free: 60.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.3583, allocations: 1.069 MB / 466 MB, free: 60.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3583, allocations: 0 / 466 MB, free: 60.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001573/0.3598, allocations: 387.2 kB / 466.4 MB, free: 60.54 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.002577/0.3624, allocations: 2.363 MB / 468.7 MB, free: 59.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3647, allocations: 1.572 MB / 470.3 MB, free: 58.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3647, allocations: 1.25 kB / 470.3 MB, free: 58.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.3658, allocations: 0.825 MB / 471.1 MB, free: 58.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.3676, allocations: 417.1 kB / 471.5 MB, free: 58.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.3836, allocations: 15.29 MB / 486.8 MB, free: 49.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.3843, allocations: 1.472 MB / 488.3 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008287/0.3852, allocations: 352.6 kB / 488.6 MB, free: 47.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.3858, allocations: 0.6214 MB / 489.3 MB, free: 47.17 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3858, allocations: 0 / 489.3 MB, free: 47.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.4467, allocations: 36.64 MB / 0.5136 GB, free: 10.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/14.86, allocations: 17.7 kB / 0.5136 GB, free: 10.52 MB / 382.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.237273841979913]