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.001374/0.001374, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001403/0.001403, allocations: 212 kB / 24.47 MB, free: 3.547 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.334/1.334, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.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.00176/0.00176, allocations: 55.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2806, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008715/0.2893, allocations: 7.95 MB / 404.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.295, allocations: 3.018 MB / 407.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2962, allocations: 50.44 kB / 407.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.298, allocations: 0.6491 MB / 408 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3003, allocations: 0.7514 MB / 408.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.301, allocations: 332.8 kB / 409.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.3036, allocations: 2.108 MB / 411.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.3049, allocations: 0.7787 MB / 412 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.3064, allocations: 0.9337 MB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.3081, allocations: 1.079 MB / 414 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.3085, allocations: 230.5 kB / 414.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.3092, allocations: 328.4 kB / 414.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007745/0.31, allocations: 0.6748 MB / 415.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.3111, allocations: 0.8765 MB / 416.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.3146, allocations: 3.144 MB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3146, allocations: 0 / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3146, allocations: 4 kB / 419.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.793e-05/0.3147, allocations: 0 / 419.2 MB, free: 10.38 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.005276/0.3199, allocations: 2.243 MB / 421.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.32, allocations: 13.89 kB / 421.5 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003456/0.3204, allocations: 225.7 kB / 421.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.3211, allocations: 235.5 kB / 421.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.3235, allocations: 1.11 MB / 423 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3236, allocations: 116.7 kB / 423.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.3239, allocations: 155.6 kB / 423.3 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/0.3274, allocations: 2.076 MB / 425.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.3275, allocations: 19.89 kB / 425.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.3276, allocations: 60 kB / 425.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.3277, allocations: 74.92 kB / 425.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.3304, allocations: 1.647 MB / 427.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.3405, allocations: 6.279 MB / 433.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.3413, allocations: 429.5 kB / 433.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.3417, allocations: 246 kB / 434.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.3418, allocations: 40.41 kB / 434.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3419, allocations: 39 kB / 434.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.3419, allocations: 3.938 kB / 434.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007243/0.3491, allocations: 3.165 MB / 437.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002541/0.3517, allocations: 2.211 MB / 439.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.3541, allocations: 1.677 MB / 441.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.3542, allocations: 37.7 kB / 441.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/0.355, allocations: 1.053 MB / 442.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.3553, allocations: 246 kB / 442.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.3557, allocations: 323.3 kB / 442.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3558, allocations: 305.1 kB / 443.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.3566, allocations: 0.5192 MB / 443.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.3582, allocations: 1.461 MB / 445.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.3607, allocations: 2.134 MB / 447.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.3607, allocations: 15.94 kB / 447.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003532/0.3642, allocations: 2.162 MB / 449.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3643, allocations: 20 kB / 449.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.3643, allocations: 36.12 kB / 449.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.3648, allocations: 222.4 kB / 449.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3659, allocations: 399.2 kB / 450.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.3676, allocations: 1.74 MB / 451.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.3691, allocations: 135.7 kB / 452 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.3692, allocations: 92 kB / 452.1 MB, free: 9.465 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.0009251/0.3701, allocations: 0.5905 MB / 452.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.3704, allocations: 159.2 kB / 452.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.3722, allocations: 1.116 MB / 454 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3723, allocations: 8 kB / 454 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3723, allocations: 0 / 454 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.3723, allocations: 3.984 kB / 454 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.3778, allocations: 3.138 MB / 457.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3778, allocations: 8.094 kB / 457.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3782, allocations: 115.8 kB / 457.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006016/0.3788, allocations: 218.4 kB / 457.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.3789, allocations: 23.98 kB / 457.5 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/0.3829, allocations: 3.828 MB / 461.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002093/0.385, allocations: 2.05 MB / 463.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.3877, allocations: 1.766 MB / 465.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007854/0.3885, allocations: 242.9 kB / 465.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.3887, allocations: 23.92 kB / 465.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.3893, allocations: 55.94 kB / 465.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3895, allocations: 63.78 kB / 465.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.3895, allocations: 23.98 kB / 465.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.3911, allocations: 1.07 MB / 466.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3911, allocations: 0 / 466.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001631/0.3927, allocations: 380 kB / 467 MB, free: 9.965 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.003023/0.3958, allocations: 2.361 MB / 469.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.3983, allocations: 1.42 MB / 470.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3983, allocations: 0 / 470.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.3996, allocations: 0.7374 MB / 471.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4017, allocations: 421.6 kB / 471.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/0.4237, allocations: 15.31 MB / 487.2 MB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4248, allocations: 0.8852 MB / 488.1 MB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.4258, allocations: 354 kB / 488.4 MB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/0.4267, allocations: 0.6203 MB / 489.1 MB, free: 2.441 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4267, allocations: 0 / 489.1 MB, free: 2.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/0.5149, allocations: 38.74 MB / 0.5154 GB, free: 11.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.98, allocations: 0 / 0.5154 GB, free: 11.58 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.299687293358147]