Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002588/0.002588, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.685/1.685, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2832, allocations: 53.4 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01132/0.2945, allocations: 8.368 MB / 439.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.3005, allocations: 2.887 MB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.3021, allocations: 59.62 kB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.304, allocations: 0.6133 MB / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.3068, allocations: 0.8156 MB / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3079, allocations: 375.5 kB / 444.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.3116, allocations: 2.685 MB / 446.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.3132, allocations: 1.117 MB / 448.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.3152, allocations: 1.238 MB / 449.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.3178, allocations: 1.467 MB / 450.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005392/0.3183, allocations: 304 kB / 451.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008838/0.3192, allocations: 411.8 kB / 451.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000878/0.3201, allocations: 0.892 MB / 452.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.3215, allocations: 1.147 MB / 453.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004406/0.3259, allocations: 4.142 MB / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3259, allocations: 0 / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3259, allocations: 0 / 457.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.857e-05/0.326, allocations: 0 / 457.6 MB, free: 11.94 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006192/0.3322, allocations: 2.865 MB / 460.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3322, allocations: 15.98 kB / 460.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004608/0.3327, allocations: 291.5 kB / 460.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3338, allocations: 335.1 kB / 461.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.3372, allocations: 1.492 MB / 462.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.3373, allocations: 156.2 kB / 462.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.3377, allocations: 208 kB / 463 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005197/0.3429, allocations: 2.828 MB / 465.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.3429, allocations: 11.89 kB / 465.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.3431, allocations: 83.98 kB / 465.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.3433, allocations: 95.92 kB / 466 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.3476, allocations: 2.322 MB / 468.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.3615, allocations: 7.55 MB / 475.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3637, allocations: 1.243 MB / 477.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.3657, allocations: 1.012 MB / 478.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.3659, allocations: 48.97 kB / 478.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3659, allocations: 43.5 kB / 478.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.3659, allocations: 3.938 kB / 478.2 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01358/0.3795, allocations: 5.935 MB / 484.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.3796, allocations: 68.41 kB / 484.2 MB, free: 0.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.382, allocations: 1.548 MB / 485.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.3821, allocations: 45.7 kB / 485.8 MB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008502/0.383, allocations: 1.017 MB / 486.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.3834, allocations: 436.3 kB / 487.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.3838, allocations: 251.5 kB / 487.5 MB, free: 13.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3839, allocations: 357.9 kB / 487.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3851, allocations: 0.73 MB / 488.6 MB, free: 12.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.3866, allocations: 1.055 MB / 489.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.3896, allocations: 1.875 MB / 491.5 MB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.3896, allocations: 4 kB / 491.5 MB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004341/0.3939, allocations: 2.362 MB / 493.9 MB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.394, allocations: 14.5 kB / 493.9 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.394, allocations: 8 kB / 493.9 MB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.395, allocations: 411.1 kB / 494.3 MB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.3963, allocations: 331.6 kB / 494.6 MB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.4023, allocations: 4.831 MB / 499.5 MB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4036, allocations: 87.86 kB / 499.5 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.4038, allocations: 56.06 kB / 499.6 MB, free: 0.8945 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001487/0.4052, allocations: 0.712 MB / 0.4886 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.4057, allocations: 170.9 kB / 0.4887 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.4098, allocations: 2.133 MB / 0.4908 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.4098, allocations: 12 kB / 0.4908 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.4099, allocations: 4 kB / 0.4908 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4099, allocations: 3.984 kB / 0.4908 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009059/0.4189, allocations: 4.292 MB / 0.495 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.4189, allocations: 0 / 0.495 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.4199, allocations: 227.6 kB / 0.4953 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.4212, allocations: 467.2 kB / 0.4957 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4213, allocations: 35.92 kB / 0.4957 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007201/0.4285, allocations: 6.335 MB / 0.5019 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4285, allocations: 4.031 kB / 0.5019 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.4345, allocations: 3.181 MB / 0.505 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.4358, allocations: 330.8 kB / 0.5053 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.4363, allocations: 31.98 kB / 0.5054 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.4374, allocations: 71.92 kB / 0.5054 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.4377, allocations: 120.6 kB / 0.5056 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.4378, allocations: 35.98 kB / 0.5056 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002237/0.4401, allocations: 1.056 MB / 0.5066 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4401, allocations: 0 / 0.5066 GB, free: 13.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001835/0.4419, allocations: 463.9 kB / 0.5071 GB, free: 12.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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 {(2,12,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.006238/0.4481, allocations: 3.822 MB / 0.5108 GB, free: 8.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00392/0.4521, allocations: 2.041 MB / 0.5128 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4521, allocations: 0.625 kB / 0.5128 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.4545, allocations: 1.365 MB / 0.5141 GB, free: 5.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.4571, allocations: 445.7 kB / 0.5146 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/0.4895, allocations: 17.5 MB / 0.5316 GB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.4916, allocations: 1.254 MB / 0.5329 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.493, allocations: 397.6 kB / 0.5333 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.4944, allocations: 0.8116 MB / 0.534 GB, free: 340 kB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4944, allocations: 0 / 0.534 GB, free: 340 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3511/0.8455, allocations: 46.63 MB / 0.5796 GB, free: 67.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.54, allocations: 10.97 kB / 0.5796 GB, free: 67.64 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 18.467727332375944]