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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.361/1.361, allocations: 207.6 MB / 231.8 MB, free: 4.094 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 59.91 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08144/0.08312, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01176/0.09488, allocations: 9.628 MB / 401 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005527/0.1004, allocations: 3.167 MB / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.1013, allocations: 47.75 kB / 404.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.1029, allocations: 0.7144 MB / 404.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.1048, allocations: 0.796 MB / 405.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008438/0.1057, allocations: 403.4 kB / 406.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.1086, allocations: 2.561 MB / 408.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.1107, allocations: 1.638 MB / 410.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.1122, allocations: 1.176 MB / 411.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1144, allocations: 1.537 MB / 413 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.1149, allocations: 320 kB / 413.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.1156, allocations: 415.8 kB / 413.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009309/0.1165, allocations: 0.9193 MB / 414.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.1182, allocations: 1.412 MB / 416.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.1232, allocations: 4.165 MB / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1232, allocations: 0 / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1232, allocations: 0 / 420.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.839e-05/0.1233, allocations: 0 / 420.3 MB, free: 11.7 MB / 350.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.006274/0.1296, allocations: 2.968 MB / 423.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1296, allocations: 12.03 kB / 423.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004247/0.13, allocations: 308.2 kB / 423.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.1307, allocations: 303.2 kB / 423.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.1337, allocations: 1.458 MB / 425.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.1338, allocations: 160.2 kB / 425.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.1342, allocations: 208 kB / 425.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.139, allocations: 2.803 MB / 428.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/0.139, allocations: 11.94 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.1392, allocations: 88 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.1394, allocations: 104.2 kB / 428.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00428/0.1436, allocations: 2.359 MB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.1576, allocations: 8.514 MB / 439.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1602, allocations: 1.644 MB / 441.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.1619, allocations: 0.8931 MB / 442.1 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.1622, allocations: 208.2 kB / 442.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1623, allocations: 43.5 kB / 442.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.554e-06/0.1623, allocations: 4 kB / 442.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01294/0.1752, allocations: 6.126 MB / 448.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1753, allocations: 64.41 kB / 448.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.1774, allocations: 1.437 MB / 449.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.1775, allocations: 45.7 kB / 450 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008873/0.1784, allocations: 1.071 MB / 451.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.1788, allocations: 428.3 kB / 451.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.1792, allocations: 263.5 kB / 451.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1794, allocations: 361.9 kB / 452.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.1806, allocations: 0.6832 MB / 452.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.1821, allocations: 1.07 MB / 453.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.185, allocations: 1.86 MB / 455.7 MB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.185, allocations: 4 kB / 455.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004208/0.1892, allocations: 2.399 MB / 458.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.1892, allocations: 16.09 kB / 458.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.1892, allocations: 16 kB / 458.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/0.1902, allocations: 407.1 kB / 458.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.1917, allocations: 331.5 kB / 458.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1599/0.3516, allocations: 7.042 MB / 465.9 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3529, allocations: 95.69 kB / 466 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3531, allocations: 57.77 kB / 466 MB, free: 60.77 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.001123/0.3542, allocations: 0.6948 MB / 466.7 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.3545, allocations: 165.9 kB / 466.9 MB, free: 60.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.358, allocations: 2.113 MB / 469 MB, free: 59.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.358, allocations: 11.56 kB / 469 MB, free: 59.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.358, allocations: 9.516 kB / 469 MB, free: 59.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.358, allocations: 5.578 kB / 469 MB, free: 59.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007586/0.3656, allocations: 4.562 MB / 473.6 MB, free: 57.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3656, allocations: 5.906 kB / 473.6 MB, free: 57.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.3664, allocations: 211.5 kB / 473.8 MB, free: 57.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.3675, allocations: 450.6 kB / 474.3 MB, free: 57.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/0.3675, allocations: 35.88 kB / 474.3 MB, free: 57.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.3736, allocations: 8.617 MB / 482.9 MB, free: 50.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3736, allocations: 7.875 kB / 482.9 MB, free: 50.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/0.3777, allocations: 3.109 MB / 486 MB, free: 49.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.3786, allocations: 396.4 kB / 486.4 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.3788, allocations: 29.78 kB / 486.4 MB, free: 49.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.3796, allocations: 79.19 kB / 486.5 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.3798, allocations: 102.3 kB / 486.6 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.3799, allocations: 35.16 kB / 486.6 MB, free: 49.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.3811, allocations: 0.9885 MB / 487.6 MB, free: 48.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 0 / 487.6 MB, free: 48.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001445/0.3825, allocations: 463.7 kB / 488.1 MB, free: 48.64 MB / 382.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.003974/0.3865, allocations: 3.741 MB / 491.8 MB, free: 46.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.3893, allocations: 2.151 MB / 494 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3893, allocations: 320 / 494 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.3913, allocations: 1.398 MB / 495.4 MB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.3931, allocations: 422.4 kB / 495.8 MB, free: 42.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.4124, allocations: 16.91 MB / 0.5007 GB, free: 24.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.4134, allocations: 1.807 MB / 0.5025 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008793/0.4143, allocations: 367.9 kB / 0.5028 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007776/0.4151, allocations: 0.8156 MB / 0.5036 GB, free: 21.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4151, allocations: 0 / 0.5036 GB, free: 21.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08395/0.499, allocations: 42.16 MB / 0.5448 GB, free: 11.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.11, allocations: 8.062 kB / 0.5448 GB, free: 11.55 MB / 414.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_2/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_2/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.50406466703862]