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.008596/0.008596, allocations: 101.6 kB / 21.96 MB, free: 5.211 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.002278/0.002278, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.323/1.323, allocations: 207.7 MB / 236.1 MB, free: 9.82 MB / 190.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.001659/0.001659, allocations: 59.09 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2232, allocations: 49.16 MB / 397.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008236/0.2314, allocations: 7.925 MB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.2364, allocations: 3.005 MB / 408.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.2374, allocations: 50.41 kB / 408.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2389, allocations: 0.6506 MB / 408.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.2407, allocations: 0.7497 MB / 409.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.2413, allocations: 344.9 kB / 409.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.2434, allocations: 2.112 MB / 412 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.2445, allocations: 0.8075 MB / 412.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.2459, allocations: 0.9417 MB / 413.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.2475, allocations: 1.168 MB / 414.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.2478, allocations: 229.8 kB / 415.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.2484, allocations: 324 kB / 415.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007116/0.2491, allocations: 0.6835 MB / 416.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009795/0.2501, allocations: 0.8693 MB / 417 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.2532, allocations: 3.141 MB / 420.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.2533, allocations: 5.094 kB / 420.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2533, allocations: 0 / 420.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.975e-05/0.2533, allocations: 0 / 420.1 MB, free: 10.41 MB / 334.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.004324/0.2576, allocations: 2.238 MB / 422.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2577, allocations: 13.73 kB / 422.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.901e-05/0.2577, allocations: 48.39 kB / 422.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002943/0.258, allocations: 233.7 kB / 422.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/0.2587, allocations: 236.1 kB / 422.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.2606, allocations: 1.102 MB / 424 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.2607, allocations: 120.9 kB / 424.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.261, allocations: 152.7 kB / 424.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.2643, allocations: 2.085 MB / 426.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.2643, allocations: 3.953 kB / 426.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.2645, allocations: 64 kB / 426.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-05/0.2646, allocations: 74.92 kB / 426.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.2673, allocations: 1.651 MB / 428.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009654/0.2769, allocations: 6.282 MB / 434.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.2777, allocations: 417.5 kB / 434.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.2781, allocations: 250 kB / 435.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.2783, allocations: 40.41 kB / 435.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2783, allocations: 42.98 kB / 435.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.035e-06/0.2783, allocations: 0 / 435.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00724/0.2856, allocations: 3.153 MB / 438.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002479/0.288, allocations: 2.215 MB / 440.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.2904, allocations: 1.623 MB / 442.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.2904, allocations: 41.64 kB / 442.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/0.2913, allocations: 1.049 MB / 443.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.2915, allocations: 250 kB / 443.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.292, allocations: 319.3 kB / 443.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2921, allocations: 305.1 kB / 444.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008048/0.2929, allocations: 0.5231 MB / 444.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.2944, allocations: 1.464 MB / 446.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.297, allocations: 2.138 MB / 448.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.297, allocations: 12 kB / 448.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0036/0.3006, allocations: 2.162 MB / 450.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.3006, allocations: 20 kB / 450.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/0.3007, allocations: 32 kB / 450.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.3012, allocations: 230.4 kB / 450.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3023, allocations: 395.7 kB / 451 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3041, allocations: 1.736 MB / 452.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3055, allocations: 143.8 kB / 452.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3057, allocations: 95.98 kB / 453 MB, free: 9.492 MB / 366.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.0009345/0.3066, allocations: 0.5983 MB / 453.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.3069, allocations: 163 kB / 453.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.3088, allocations: 1.1 MB / 454.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3089, allocations: 8 kB / 454.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3089, allocations: 4 kB / 454.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3089, allocations: 3.984 kB / 454.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005382/0.3142, allocations: 3.142 MB / 458 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3143, allocations: 8 kB / 458 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.3147, allocations: 107.8 kB / 458.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006305/0.3153, allocations: 222.8 kB / 458.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.3154, allocations: 23.98 kB / 458.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/0.3195, allocations: 3.827 MB / 462.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002131/0.3216, allocations: 2.05 MB / 464.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.3243, allocations: 1.758 MB / 466 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.3249, allocations: 246.8 kB / 466.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3251, allocations: 16 kB / 466.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.3258, allocations: 52 kB / 466.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.326, allocations: 63.78 kB / 466.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.326, allocations: 31.98 kB / 466.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001602/0.3276, allocations: 1.066 MB / 467.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3276, allocations: 0 / 467.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001591/0.3292, allocations: 379.9 kB / 467.9 MB, free: 10 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.003046/0.3323, allocations: 2.365 MB / 470.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.3347, allocations: 1.42 MB / 471.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3347, allocations: 0 / 471.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.336, allocations: 0.7411 MB / 472.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.3378, allocations: 405.7 kB / 472.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.3585, allocations: 15.33 MB / 488.1 MB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.3596, allocations: 0.8892 MB / 489 MB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009643/0.3605, allocations: 346 kB / 489.3 MB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.3614, allocations: 0.6164 MB / 489.9 MB, free: 2.473 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3614, allocations: 0 / 489.9 MB, free: 2.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07943/0.4408, allocations: 38.89 MB / 0.5164 GB, free: 11.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/15.84, allocations: 11.86 kB / 0.5165 GB, free: 11.45 MB / 446.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 & /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: 18.194386227987707]