Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001689/0.001689, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002222/0.002222, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 55.94 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.107, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.2312/0.3383, allocations: 9.762 MB / 436.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007517/0.3458, allocations: 3.114 MB / 439.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.3481, allocations: 60.25 kB / 439.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.3508, allocations: 0.6624 MB / 439.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.3546, allocations: 0.7857 MB / 440.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3561, allocations: 381.8 kB / 441.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.3604, allocations: 2.444 MB / 443.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.3626, allocations: 1.28 MB / 444.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.3652, allocations: 1.11 MB / 445.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.3681, allocations: 1.348 MB / 447.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008261/0.3689, allocations: 278.4 kB / 447.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3704, allocations: 381.8 kB / 447.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009382/0.3713, allocations: 0.7789 MB / 448.7 MB, free: 268 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.3735, allocations: 1.272 MB / 450 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006043/0.3796, allocations: 3.673 MB / 453.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3796, allocations: 1.375 kB / 453.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3796, allocations: 0 / 453.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001321/0.3797, allocations: 11.88 kB / 453.7 MB, free: 14.09 MB / 366.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.007331/0.387, allocations: 2.655 MB / 456.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3871, allocations: 10.38 kB / 456.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006257/0.3877, allocations: 276.9 kB / 456.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3889, allocations: 286.4 kB / 456.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.3921, allocations: 1.376 MB / 458.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.3923, allocations: 140.5 kB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.3928, allocations: 199.2 kB / 458.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/0.3982, allocations: 2.417 MB / 461 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.3983, allocations: 3.188 kB / 461 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.3985, allocations: 76.59 kB / 461.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.3986, allocations: 91.17 kB / 461.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004181/0.4028, allocations: 1.96 MB / 463.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.4177, allocations: 7.791 MB / 470.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.4196, allocations: 1.152 MB / 472.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.4215, allocations: 0.9155 MB / 473 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.4218, allocations: 124.2 kB / 473.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4218, allocations: 39.69 kB / 473.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.625e-06/0.4219, allocations: 0 / 473.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01435/0.4362, allocations: 5.888 MB / 479 MB, free: 11.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4363, allocations: 64.34 kB / 479.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.4385, allocations: 1.314 MB / 480.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.4387, allocations: 45.7 kB / 480.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000774/0.4395, allocations: 0.9497 MB / 481.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.4399, allocations: 404.5 kB / 481.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.4403, allocations: 255.5 kB / 482 MB, free: 8.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4405, allocations: 357.9 kB / 482.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4416, allocations: 0.6364 MB / 483 MB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.443, allocations: 1.012 MB / 484 MB, free: 6.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.4457, allocations: 1.724 MB / 485.8 MB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4458, allocations: 4 kB / 485.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004573/0.4503, allocations: 2.239 MB / 488 MB, free: 2.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.4504, allocations: 11.98 kB / 488 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.4504, allocations: 12 kB / 488 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.4518, allocations: 496.2 kB / 488.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4531, allocations: 307.5 kB / 488.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.4616, allocations: 7.136 MB / 496 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.4631, allocations: 83.91 kB / 496 MB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.4633, allocations: 56 kB / 496.1 MB, free: 9.797 MB / 398.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.001721/0.465, allocations: 0.6105 MB / 496.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/0.4656, allocations: 155 kB / 496.9 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.4699, allocations: 1.957 MB / 498.8 MB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.4699, allocations: 16 kB / 498.8 MB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.4699, allocations: 4 kB / 498.8 MB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.4699, allocations: 7.922 kB / 498.8 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009128/0.479, allocations: 4.101 MB / 0.4912 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.4791, allocations: 4 kB / 0.4912 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/0.48, allocations: 184 kB / 0.4913 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.4816, allocations: 0.5465 MB / 0.4919 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.4818, allocations: 27.92 kB / 0.4919 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009944/0.4917, allocations: 8.757 MB / 0.5004 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.4917, allocations: 11.88 kB / 0.5005 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.4971, allocations: 2.862 MB / 0.5033 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4982, allocations: 356 kB / 0.5036 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.4985, allocations: 27.98 kB / 0.5036 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.4994, allocations: 71.92 kB / 0.5037 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.4997, allocations: 84.83 kB / 0.5038 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.4998, allocations: 31.98 kB / 0.5038 GB, free: 5.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.5014, allocations: 0.8997 MB / 0.5047 GB, free: 4.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5014, allocations: 0 / 0.5047 GB, free: 4.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002064/0.5035, allocations: 439.9 kB / 0.5051 GB, free: 3.887 MB / 414.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.005475/0.5089, allocations: 3.476 MB / 0.5085 GB, free: 344 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004015/0.513, allocations: 2.158 MB / 0.5106 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.513, allocations: 4 kB / 0.5106 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.5154, allocations: 1.448 MB / 0.512 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.5176, allocations: 424.3 kB / 0.5124 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/0.544, allocations: 15.7 MB / 0.5277 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.5461, allocations: 1.646 MB / 0.5294 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.5472, allocations: 328.7 kB / 0.5297 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.5485, allocations: 0.7219 MB / 0.5304 GB, free: 9.184 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5485, allocations: 4 kB / 0.5304 GB, free: 9.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09949/0.648, allocations: 39.94 MB / 0.5694 GB, free: 1.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.04/20.69, allocations: 11.8 kB / 0.5694 GB, free: 1.656 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 24.496939225820825]