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.001352/0.001352, allocations: 107.6 kB / 21.18 MB, free: 452 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.001576/0.001576, allocations: 209.3 kB / 24.47 MB, free: 3.773 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.364/1.364, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001862/0.001862, allocations: 51.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.00985/0.263, allocations: 8.481 MB / 404.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.2692, allocations: 2.992 MB / 407.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.2716, allocations: 60.56 kB / 407.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.274, allocations: 0.6611 MB / 408.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.2773, allocations: 0.8056 MB / 409.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2788, allocations: 397.5 kB / 409.7 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.2834, allocations: 2.566 MB / 412.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.2856, allocations: 1.227 MB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.2878, allocations: 1.205 MB / 414.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.2901, allocations: 1.444 MB / 416.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004613/0.2906, allocations: 317.8 kB / 416.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.2915, allocations: 415.4 kB / 416.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009662/0.2925, allocations: 0.9155 MB / 417.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.2939, allocations: 1.148 MB / 419 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.2986, allocations: 4.189 MB / 423.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2986, allocations: 1.281 kB / 423.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2986, allocations: 0 / 423.2 MB, free: 7.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.098e-05/0.2986, allocations: 0 / 423.2 MB, free: 7.754 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.006121/0.3048, allocations: 2.888 MB / 426 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3048, allocations: 19.92 kB / 426.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004268/0.3052, allocations: 308.2 kB / 426.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.306, allocations: 307.2 kB / 426.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.3089, allocations: 1.378 MB / 428 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.309, allocations: 160.2 kB / 428.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.3093, allocations: 215.9 kB / 428.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/0.3141, allocations: 2.904 MB / 431.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.3141, allocations: 7.891 kB / 431.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.3143, allocations: 88 kB / 431.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3145, allocations: 104.2 kB / 431.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.3187, allocations: 2.339 MB / 433.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.3325, allocations: 7.697 MB / 441.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.3348, allocations: 1.173 MB / 442.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.3366, allocations: 0.9016 MB / 443.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.3369, allocations: 56.95 kB / 443.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.3369, allocations: 47.5 kB / 443.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.116e-06/0.3369, allocations: 0 / 443.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01325/0.3501, allocations: 5.674 MB / 449.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3502, allocations: 64.41 kB / 449.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.3524, allocations: 1.46 MB / 450.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3525, allocations: 45.7 kB / 451 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008544/0.3534, allocations: 1.063 MB / 452 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.3538, allocations: 428.4 kB / 452.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.3542, allocations: 255.5 kB / 452.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3544, allocations: 357.9 kB / 453 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3555, allocations: 0.6871 MB / 453.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.357, allocations: 1.066 MB / 454.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.3598, allocations: 1.863 MB / 456.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3598, allocations: 4 kB / 456.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004174/0.364, allocations: 2.324 MB / 459 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.364, allocations: 8 kB / 459 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.364, allocations: 15.94 kB / 459 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009803/0.365, allocations: 419.3 kB / 459.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3662, allocations: 323.5 kB / 459.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007525/0.3737, allocations: 6.696 MB / 466.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.3752, allocations: 107.8 kB / 466.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.3755, allocations: 56 kB / 466.6 MB, free: 11.48 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.001504/0.377, allocations: 0.6886 MB / 467.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/0.3775, allocations: 166.9 kB / 467.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.3816, allocations: 2.039 MB / 469.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3816, allocations: 8 kB / 469.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.3816, allocations: 4 kB / 469.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.3817, allocations: 11.97 kB / 469.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009325/0.391, allocations: 4.212 MB / 473.7 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.391, allocations: 12.41 kB / 473.7 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/0.3919, allocations: 215.7 kB / 473.9 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.3931, allocations: 446.9 kB / 474.4 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.3932, allocations: 35.92 kB / 474.4 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009489/0.4027, allocations: 8.164 MB / 482.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.4027, allocations: 4 kB / 482.6 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005917/0.4086, allocations: 3.029 MB / 485.6 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.4098, allocations: 314.8 kB / 485.9 MB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/0.4102, allocations: 28 kB / 485.9 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.4115, allocations: 87.83 kB / 486 MB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.4117, allocations: 96.77 kB / 486.1 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.4118, allocations: 39.98 kB / 486.2 MB, free: 7.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002164/0.414, allocations: 0.9886 MB / 487.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.414, allocations: 0 / 487.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002172/0.4162, allocations: 463.9 kB / 487.6 MB, free: 5.77 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.005965/0.4221, allocations: 3.665 MB / 491.3 MB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003894/0.426, allocations: 2.073 MB / 493.3 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.426, allocations: 320 / 493.3 MB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.4285, allocations: 1.407 MB / 494.8 MB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.4308, allocations: 425.2 kB / 495.2 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/0.4607, allocations: 16.78 MB / 0.5 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.4627, allocations: 1.235 MB / 0.5012 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.4639, allocations: 365.5 kB / 0.5015 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.4653, allocations: 0.8156 MB / 0.5023 GB, free: 10.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.502e-06/0.4653, allocations: 0 / 0.5023 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.5722, allocations: 44.84 MB / 0.5461 GB, free: 13.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.96, allocations: 8 kB / 0.5461 GB, free: 13.12 MB / 478.1 MB " [Timeout remaining time 647] (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: 17.340540383011103]