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.0009464/0.0009464, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004914/0.004914, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.9095/0.9095, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 298.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.351e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.1568/0.1569, allocations: 8.485 MB / 306.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.1623, allocations: 2.981 MB / 309.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000877/0.1631, allocations: 65 kB / 310 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.1645, allocations: 0.666 MB / 310.6 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.1663, allocations: 0.8393 MB / 311.5 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.167, allocations: 398.4 kB / 311.9 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1696, allocations: 2.646 MB / 314.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.1709, allocations: 1.245 MB / 315.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.1729, allocations: 1.759 MB / 317.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.1746, allocations: 1.29 MB / 318.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.1752, allocations: 318.5 kB / 319.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009461/0.1762, allocations: 419.1 kB / 319.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.1767, allocations: 0.9377 MB / 320.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.1778, allocations: 0.9684 MB / 321.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.1804, allocations: 4.214 MB / 325.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1804, allocations: 0 / 325.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1804, allocations: 4 kB / 325.7 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.473e-05/0.1805, allocations: 1.375 kB / 325.7 MB, free: 0.8867 MB / 282.7 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.003858/0.1843, allocations: 2.858 MB / 328.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1844, allocations: 13.83 kB / 328.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003032/0.1847, allocations: 313.2 kB / 328.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004943/0.1852, allocations: 299.1 kB / 329.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.1868, allocations: 1.379 MB / 330.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.1869, allocations: 163 kB / 330.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.1871, allocations: 213.4 kB / 330.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.1902, allocations: 2.895 MB / 333.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.1903, allocations: 7.938 kB / 333.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.1904, allocations: 87.98 kB / 333.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.1906, allocations: 113.2 kB / 334 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.1933, allocations: 2.337 MB / 336.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008014/0.2013, allocations: 7.705 MB / 344 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2027, allocations: 1.181 MB / 345.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2038, allocations: 0.9044 MB / 346.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.2039, allocations: 48.97 kB / 346.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.204, allocations: 51.55 kB / 346.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 2.134e-06/0.204, allocations: 0 / 346.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.007562/0.2115, allocations: 5.67 MB / 351.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2116, allocations: 68.34 kB / 351.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.2129, allocations: 1.46 MB / 353.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.213, allocations: 41.7 kB / 353.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/0.2137, allocations: 1.067 MB / 354.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2139, allocations: 424.4 kB / 354.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.2142, allocations: 255.5 kB / 355.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2143, allocations: 361.9 kB / 355.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.2151, allocations: 0.6801 MB / 356.2 MB, free: 4.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00094/0.216, allocations: 1.078 MB / 357.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.2178, allocations: 1.867 MB / 359.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2178, allocations: 4 kB / 359.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002915/0.2207, allocations: 2.32 MB / 361.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.2207, allocations: 12.25 kB / 361.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.2207, allocations: 16 kB / 361.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.2213, allocations: 411.1 kB / 361.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.2219, allocations: 339.1 kB / 362.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.2264, allocations: 6.674 MB / 368.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.227, allocations: 95.86 kB / 369 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.227, allocations: 63.98 kB / 369.1 MB, free: 6.859 MB / 330.7 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.0007961/0.2278, allocations: 0.6886 MB / 369.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.228, allocations: 171.9 kB / 369.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.2302, allocations: 2.028 MB / 372 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2302, allocations: 16 kB / 372 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2302, allocations: 4 kB / 372 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2302, allocations: 3.984 kB / 372 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.2349, allocations: 4.206 MB / 376.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2349, allocations: 4 kB / 376.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.2354, allocations: 215.7 kB / 376.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.236, allocations: 447.7 kB / 376.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.2361, allocations: 31.98 kB / 376.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/0.2411, allocations: 8.169 MB / 385 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2411, allocations: 4 kB / 385 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.244, allocations: 3.028 MB / 388.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.2445, allocations: 306.8 kB / 388.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2446, allocations: 31.98 kB / 388.4 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.245, allocations: 83.91 kB / 388.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.2452, allocations: 100.7 kB / 388.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.2452, allocations: 40 kB / 388.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.2463, allocations: 0.9886 MB / 389.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2463, allocations: 0 / 389.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001225/0.2476, allocations: 459.9 kB / 390.1 MB, free: 1.18 MB / 346.7 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.003218/0.2508, allocations: 3.66 MB / 393.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.2531, allocations: 2.084 MB / 395.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2531, allocations: 0 / 395.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.2546, allocations: 1.389 MB / 397.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2557, allocations: 421.1 kB / 397.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.2765, allocations: 16.71 MB / 414.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.2776, allocations: 1.227 MB / 415.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00086/0.2785, allocations: 365.6 kB / 415.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/0.2794, allocations: 0.8166 MB / 416.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of SimCode: time 2.204e-06/0.2794, allocations: 0 / 416.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/0.3411, allocations: 44.86 MB / 461.6 MB, free: 8.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.751, allocations: 11.95 kB / 461.6 MB, free: 8.609 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 11.75033076480031]