Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.001939/0.001939, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002232/0.002232, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.478/1.478, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",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.001835/0.001835, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2814, allocations: 49.15 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01038/0.2917, allocations: 9.673 MB / 406 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.2976, allocations: 3.173 MB / 409.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.2992, allocations: 65.25 kB / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.3013, allocations: 0.7124 MB / 410 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.3043, allocations: 0.8078 MB / 410.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3055, allocations: 403.6 kB / 411.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003912/0.3094, allocations: 2.569 MB / 413.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3115, allocations: 1.279 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.3139, allocations: 1.205 MB / 416.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.3165, allocations: 1.534 MB / 417.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.3171, allocations: 317.8 kB / 418.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3182, allocations: 422.6 kB / 418.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009555/0.3191, allocations: 0.9171 MB / 419.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.321, allocations: 1.42 MB / 420.8 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.3257, allocations: 4.16 MB / 425 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3257, allocations: 0 / 425 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3257, allocations: 1.062 kB / 425 MB, free: 5.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.795e-05/0.3258, allocations: 0 / 425 MB, free: 5.945 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005864/0.3317, allocations: 2.891 MB / 427.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3317, allocations: 15.98 kB / 427.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004093/0.3321, allocations: 312.2 kB / 428.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.3328, allocations: 307.2 kB / 428.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.3355, allocations: 1.374 MB / 429.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3356, allocations: 164.2 kB / 430 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.3359, allocations: 208 kB / 430.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004491/0.3404, allocations: 2.807 MB / 433.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.669e-05/0.3405, allocations: 11.95 kB / 433.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.3407, allocations: 80 kB / 433.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.3408, allocations: 108.2 kB / 433.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.3448, allocations: 2.343 MB / 435.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.3592, allocations: 8.367 MB / 444 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.3616, allocations: 1.177 MB / 445.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.3634, allocations: 0.8968 MB / 446 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.3637, allocations: 57.95 kB / 446.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.3637, allocations: 47.5 kB / 446.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.565e-06/0.3637, allocations: 3.938 kB / 446.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01374/0.3774, allocations: 5.666 MB / 451.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3775, allocations: 72.39 kB / 451.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.3798, allocations: 1.437 MB / 453.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.38, allocations: 49.62 kB / 453.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000865/0.3808, allocations: 1.067 MB / 454.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.3812, allocations: 428.3 kB / 454.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.3816, allocations: 255.5 kB / 455.1 MB, free: 7.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3818, allocations: 361.9 kB / 455.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.383, allocations: 0.687 MB / 456.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3844, allocations: 1.07 MB / 457.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3871, allocations: 1.86 MB / 459.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3871, allocations: 4 kB / 459.1 MB, free: 3.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004205/0.3913, allocations: 2.327 MB / 461.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.3913, allocations: 8 kB / 461.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3914, allocations: 15.94 kB / 461.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009861/0.3924, allocations: 431.3 kB / 461.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3935, allocations: 315.5 kB / 462.2 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.4009, allocations: 6.751 MB / 468.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4022, allocations: 99.84 kB / 469 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4024, allocations: 60 kB / 469.1 MB, free: 9.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001338/0.4037, allocations: 0.6924 MB / 469.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.4041, allocations: 163 kB / 469.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.408, allocations: 2.035 MB / 471.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.408, allocations: 8 kB / 472 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.408, allocations: 4 kB / 472 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4081, allocations: 7.984 kB / 472 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/0.4166, allocations: 4.45 MB / 476.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4166, allocations: 0 / 476.4 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.4176, allocations: 211.7 kB / 476.6 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.4187, allocations: 443.5 kB / 477.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.4188, allocations: 39.91 kB / 477.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008785/0.4276, allocations: 8.222 MB / 485.3 MB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4276, allocations: 4 kB / 485.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/0.433, allocations: 3.036 MB / 488.4 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.4341, allocations: 306.8 kB / 488.7 MB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/0.4345, allocations: 31.98 kB / 488.7 MB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4356, allocations: 83.84 kB / 488.8 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.4359, allocations: 104.8 kB / 488.9 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.436, allocations: 39.98 kB / 488.9 MB, free: 4.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001781/0.4377, allocations: 0.9847 MB / 489.9 MB, free: 3.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4377, allocations: 0 / 489.9 MB, free: 3.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00206/0.4398, allocations: 460 kB / 490.3 MB, free: 3.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,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.006021/0.4458, allocations: 3.664 MB / 494 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003931/0.4498, allocations: 2.077 MB / 496.1 MB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4498, allocations: 0 / 496.1 MB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.4522, allocations: 1.403 MB / 497.5 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.4544, allocations: 418.3 kB / 497.9 MB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0314/0.4858, allocations: 16.79 MB / 0.5026 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002233/0.4881, allocations: 1.811 MB / 0.5044 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001241/0.4893, allocations: 361.6 kB / 0.5047 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.4906, allocations: 0.8195 MB / 0.5055 GB, free: 7.004 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4906, allocations: 0 / 0.5055 GB, free: 7.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.5972, allocations: 43.31 MB / 0.5478 GB, free: 11.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/14.95, allocations: 8 kB / 0.5478 GB, free: 11.56 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.639814373105764]