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.00479/0.00479, allocations: 111.2 kB / 21.97 MB, free: 5.25 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.001339/0.001339, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.376/1.376, allocations: 207.6 MB / 236 MB, free: 9.992 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="cs",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="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.001801/0.001801, allocations: 57.84 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2397, allocations: 49.16 MB / 397.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.008361/0.2481, allocations: 9.676 MB / 406.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.2532, allocations: 3.173 MB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.2546, allocations: 63.53 kB / 410.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2564, allocations: 0.7174 MB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.2588, allocations: 0.8063 MB / 411.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.2598, allocations: 413.1 kB / 412 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.263, allocations: 2.561 MB / 414.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.2648, allocations: 1.278 MB / 415.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.2665, allocations: 1.205 MB / 417 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.2689, allocations: 1.534 MB / 418.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.2694, allocations: 317.1 kB / 418.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009331/0.2703, allocations: 419.5 kB / 419.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.2713, allocations: 0.9157 MB / 420.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.2731, allocations: 1.424 MB / 421.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.2777, allocations: 4.16 MB / 425.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2777, allocations: 1.406 kB / 425.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2777, allocations: 0 / 425.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.399e-05/0.2778, allocations: 0 / 425.8 MB, free: 5.93 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.006188/0.284, allocations: 2.895 MB / 428.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.284, allocations: 15.98 kB / 428.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.575e-05/0.2841, allocations: 56.41 kB / 428.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004139/0.2845, allocations: 312.2 kB / 429.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.2852, allocations: 303.2 kB / 429.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.2878, allocations: 1.381 MB / 430.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.288, allocations: 156.2 kB / 430.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.2883, allocations: 212 kB / 431.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.293, allocations: 2.799 MB / 433.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.2931, allocations: 7.953 kB / 433.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.2933, allocations: 84 kB / 434 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.2934, allocations: 104.2 kB / 434.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.2975, allocations: 2.351 MB / 436.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.3108, allocations: 8.359 MB / 444.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.313, allocations: 1.192 MB / 446 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.3147, allocations: 0.89 MB / 446.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.3149, allocations: 64.88 kB / 446.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3149, allocations: 43.56 kB / 447 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.885e-06/0.3149, allocations: 0 / 447 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01274/0.3277, allocations: 5.67 MB / 452.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3277, allocations: 76.33 kB / 452.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.3298, allocations: 1.437 MB / 454.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.3299, allocations: 41.7 kB / 454.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008009/0.3307, allocations: 1.067 MB / 455.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.3311, allocations: 432.3 kB / 455.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.3315, allocations: 255.5 kB / 455.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3316, allocations: 365.9 kB / 456.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3328, allocations: 0.6871 MB / 457 MB, free: 6.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3342, allocations: 1.062 MB / 458.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.3369, allocations: 1.863 MB / 459.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.337, allocations: 0 / 459.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004175/0.3411, allocations: 2.327 MB / 462.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3412, allocations: 15.94 kB / 462.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3412, allocations: 12 kB / 462.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009503/0.3421, allocations: 415.4 kB / 462.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3433, allocations: 327.5 kB / 463 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007216/0.3505, allocations: 6.735 MB / 469.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.3519, allocations: 103.8 kB / 469.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3521, allocations: 56 kB / 469.9 MB, free: 9.176 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.001185/0.3533, allocations: 0.6924 MB / 470.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.3536, allocations: 163 kB / 470.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.3573, allocations: 2.035 MB / 472.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3573, allocations: 12 kB / 472.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3573, allocations: 4 kB / 472.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3573, allocations: 3.984 kB / 472.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.365, allocations: 4.45 MB / 477.2 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.365, allocations: 4 kB / 477.2 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/0.3659, allocations: 211.7 kB / 477.5 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.367, allocations: 447.5 kB / 477.9 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/0.3671, allocations: 39.91 kB / 477.9 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008229/0.3754, allocations: 8.218 MB / 486.1 MB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3754, allocations: 4 kB / 486.2 MB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.3803, allocations: 3.032 MB / 489.2 MB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.3811, allocations: 306.8 kB / 489.5 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.3813, allocations: 35.92 kB / 489.5 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.3822, allocations: 83.84 kB / 489.6 MB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3824, allocations: 100.8 kB / 489.7 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/0.3825, allocations: 43.86 kB / 489.7 MB, free: 4.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.3839, allocations: 0.9848 MB / 490.7 MB, free: 3.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3839, allocations: 0 / 490.7 MB, free: 3.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001586/0.3855, allocations: 460 kB / 491.2 MB, free: 3.18 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.005302/0.3908, allocations: 3.668 MB / 494.8 MB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.3943, allocations: 2.081 MB / 496.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3944, allocations: 0 / 496.9 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.3967, allocations: 1.399 MB / 498.3 MB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.3986, allocations: 433.5 kB / 498.7 MB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/0.4245, allocations: 16.79 MB / 0.5035 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.4262, allocations: 1.811 MB / 0.5052 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.4273, allocations: 365.5 kB / 0.5056 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.4284, allocations: 0.8156 MB / 0.5064 GB, free: 6.934 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4284, allocations: 0 / 0.5064 GB, free: 6.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.5422, allocations: 43.32 MB / 0.5487 GB, free: 11.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.31, allocations: 15.81 kB / 0.5487 GB, free: 11.47 MB / 478.1 MB " [Timeout remaining time 646] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 20.61834046902368]