Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001715/0.001715, allocations: 109.3 kB / 18.44 MB, free: 4.594 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.001922/0.001922, allocations: 193.2 kB / 21.39 MB, free: 1.652 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.407/1.407, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.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.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.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001635/0.001635, allocations: 47.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09797, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01218/0.1101, allocations: 9.7 MB / 401.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006424/0.1166, allocations: 3.078 MB / 404.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.1179, allocations: 43.88 kB / 404.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.1198, allocations: 0.6677 MB / 404.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1222, allocations: 0.7804 MB / 405.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.1231, allocations: 375.5 kB / 406 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.1262, allocations: 2.456 MB / 408.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.1279, allocations: 1.258 MB / 409.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.1295, allocations: 1.078 MB / 410.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.1312, allocations: 1.343 MB / 412.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.1316, allocations: 280 kB / 412.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1322, allocations: 375.8 kB / 412.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009269/0.1331, allocations: 0.783 MB / 413.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.1346, allocations: 1.275 MB / 414.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004204/0.1388, allocations: 3.655 MB / 418.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1388, allocations: 0 / 418.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1388, allocations: 0 / 418.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.873e-05/0.1389, allocations: 4 kB / 418.5 MB, free: 13.46 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00526/0.1441, allocations: 2.632 MB / 421.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1442, allocations: 8.031 kB / 421.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000372/0.1445, allocations: 286.6 kB / 421.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000703/0.1452, allocations: 275.3 kB / 421.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.1477, allocations: 1.272 MB / 423 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.1479, allocations: 140.2 kB / 423.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.1482, allocations: 207.9 kB / 423.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.1523, allocations: 2.418 MB / 425.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.744e-05/0.1523, allocations: 4 kB / 425.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.1525, allocations: 76 kB / 425.8 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.1526, allocations: 87.69 kB / 425.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.1562, allocations: 1.962 MB / 427.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.1694, allocations: 7.791 MB / 435.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.1711, allocations: 1.157 MB / 436.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.173, allocations: 0.9166 MB / 437.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.1732, allocations: 126 kB / 437.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.1733, allocations: 43.56 kB / 437.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.976e-06/0.1733, allocations: 0 / 437.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01278/0.186, allocations: 5.885 MB / 443.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1861, allocations: 68.34 kB / 443.8 MB, free: 3.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.188, allocations: 1.302 MB / 445.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/0.1881, allocations: 49.69 kB / 445.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007418/0.1888, allocations: 0.938 MB / 446.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.1892, allocations: 408.5 kB / 446.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.1896, allocations: 251.5 kB / 446.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1898, allocations: 357.9 kB / 447.1 MB, free: 184 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.1908, allocations: 0.6364 MB / 447.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.1921, allocations: 1.004 MB / 448.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.1946, allocations: 1.735 MB / 450.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1946, allocations: 4 kB / 450.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004036/0.1986, allocations: 2.246 MB / 452.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1987, allocations: 11.91 kB / 452.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.1987, allocations: 12 kB / 452.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.1999, allocations: 0.4883 MB / 453.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.201, allocations: 303.5 kB / 453.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/0.2095, allocations: 7.136 MB / 460.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.2108, allocations: 83.88 kB / 460.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.2109, allocations: 59.98 kB / 460.8 MB, free: 1.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001195/0.2121, allocations: 0.6105 MB / 461.4 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.2124, allocations: 151.1 kB / 461.6 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1634/0.3758, allocations: 1.947 MB / 463.5 MB, free: 62.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.3758, allocations: 10.62 kB / 463.6 MB, free: 62.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.3758, allocations: 5.375 kB / 463.6 MB, free: 62.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.3758, allocations: 7.453 kB / 463.6 MB, free: 62.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/0.383, allocations: 4.104 MB / 467.7 MB, free: 62.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.383, allocations: 4.422 kB / 467.7 MB, free: 62.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.3838, allocations: 188.3 kB / 467.9 MB, free: 62.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.3852, allocations: 0.5375 MB / 468.4 MB, free: 61.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.3853, allocations: 30.75 kB / 468.4 MB, free: 61.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.3921, allocations: 8.754 MB / 477.2 MB, free: 54.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3921, allocations: 2.594 kB / 477.2 MB, free: 54.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/0.3959, allocations: 2.848 MB / 480 MB, free: 53.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.3967, allocations: 362.6 kB / 480.4 MB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.3969, allocations: 25.47 kB / 480.4 MB, free: 53.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.3976, allocations: 72.53 kB / 480.5 MB, free: 53.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3978, allocations: 97.81 kB / 480.6 MB, free: 53.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.3979, allocations: 27.66 kB / 480.6 MB, free: 53.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.3989, allocations: 0.8907 MB / 481.5 MB, free: 53.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3989, allocations: 0 / 481.5 MB, free: 53.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001241/0.4002, allocations: 438.8 kB / 481.9 MB, free: 53.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.003762/0.4039, allocations: 3.484 MB / 485.4 MB, free: 51.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.4064, allocations: 2.15 MB / 487.6 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4064, allocations: 9.422 kB / 487.6 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.408, allocations: 1.449 MB / 489 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.4095, allocations: 417.4 kB / 489.4 MB, free: 49.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.4261, allocations: 15.68 MB / 0.4933 GB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/0.427, allocations: 1.65 MB / 0.4949 GB, free: 31.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007615/0.4277, allocations: 320.8 kB / 0.4952 GB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.4284, allocations: 0.7141 MB / 0.4959 GB, free: 30.81 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4284, allocations: 0 / 0.4959 GB, free: 30.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/0.5063, allocations: 39.82 MB / 0.5348 GB, free: 6.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.09/19.6, allocations: 11.92 kB / 0.5348 GB, free: 6.867 MB / 398.1 MB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.268498971126974]