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.001436/0.001436, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001495/0.001495, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.91 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3318, allocations: 53.41 MB / 432 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01251/0.3443, allocations: 9.52 MB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007955/0.3523, allocations: 3.072 MB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.3544, allocations: 59.62 kB / 444.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.3564, allocations: 0.6678 MB / 445.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.3598, allocations: 0.8234 MB / 446.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3608, allocations: 371.4 kB / 446.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.3651, allocations: 2.691 MB / 449.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002107/0.3673, allocations: 1.164 MB / 450.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.3704, allocations: 1.227 MB / 451.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.3734, allocations: 1.541 MB / 453.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005673/0.3739, allocations: 308 kB / 453.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3752, allocations: 411.8 kB / 453.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.3762, allocations: 0.896 MB / 454.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.3781, allocations: 1.412 MB / 456.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005256/0.3833, allocations: 4.123 MB / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3833, allocations: 0 / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3833, allocations: 0 / 460.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.654e-05/0.3834, allocations: 0 / 460.2 MB, free: 10.29 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.006349/0.3898, allocations: 2.857 MB / 463.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3898, allocations: 15.97 kB / 463.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.282e-05/0.3899, allocations: 52.22 kB / 463.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004039/0.3903, allocations: 299.5 kB / 463.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.3914, allocations: 335.1 kB / 463.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.3942, allocations: 1.488 MB / 465.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3943, allocations: 156 kB / 465.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.3946, allocations: 204 kB / 465.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004452/0.3991, allocations: 2.736 MB / 468.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.3991, allocations: 11.89 kB / 468.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.3993, allocations: 84 kB / 468.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3994, allocations: 95.92 kB / 468.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.4033, allocations: 2.326 MB / 470.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.4175, allocations: 8.196 MB / 479.1 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.4195, allocations: 1.246 MB / 480.3 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.4214, allocations: 1.016 MB / 481.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.4216, allocations: 44.95 kB / 481.4 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.4217, allocations: 51.5 kB / 481.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.4217, allocations: 0 / 481.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01386/0.4356, allocations: 5.931 MB / 487.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4356, allocations: 60.41 kB / 487.4 MB, free: 14.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.4382, allocations: 1.529 MB / 488.9 MB, free: 13.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.4384, allocations: 49.7 kB / 489 MB, free: 13.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008751/0.4392, allocations: 1.021 MB / 490 MB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.4397, allocations: 432.3 kB / 490.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004726/0.4401, allocations: 247.5 kB / 490.7 MB, free: 11.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4403, allocations: 369.9 kB / 491 MB, free: 10.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4416, allocations: 0.7261 MB / 491.8 MB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4431, allocations: 1.055 MB / 492.8 MB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.446, allocations: 1.879 MB / 494.7 MB, free: 7.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.446, allocations: 4 kB / 494.7 MB, free: 7.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004444/0.4505, allocations: 2.35 MB / 497.1 MB, free: 4.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.4505, allocations: 12 kB / 497.1 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.4505, allocations: 8.344 kB / 497.1 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4516, allocations: 411.1 kB / 497.5 MB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.4528, allocations: 335.5 kB / 497.8 MB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/0.4589, allocations: 4.872 MB / 0.4909 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4606, allocations: 91.92 kB / 0.491 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/0.4608, allocations: 56 kB / 0.491 GB, free: 14.63 MB / 414.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.001858/0.4627, allocations: 0.7004 MB / 0.4917 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/0.4633, allocations: 174.9 kB / 0.4919 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.4678, allocations: 2.133 MB / 0.494 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.4678, allocations: 12 kB / 0.494 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.4679, allocations: 4 kB / 0.494 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.4679, allocations: 7.969 kB / 0.494 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.4781, allocations: 4.537 MB / 0.4984 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.4781, allocations: 3.984 kB / 0.4984 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4791, allocations: 227.9 kB / 0.4986 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.4805, allocations: 466.9 kB / 0.4991 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.4806, allocations: 31.97 kB / 0.4991 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007225/0.4878, allocations: 6.386 MB / 0.5054 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4878, allocations: 4 kB / 0.5054 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005972/0.4938, allocations: 3.173 MB / 0.5085 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.4949, allocations: 342.7 kB / 0.5088 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.4954, allocations: 24 kB / 0.5088 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4965, allocations: 75.91 kB / 0.5089 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.4968, allocations: 116.7 kB / 0.509 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4969, allocations: 35.98 kB / 0.509 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.499, allocations: 1.056 MB / 0.5101 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.499, allocations: 0 / 0.5101 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001836/0.5008, allocations: 460 kB / 0.5105 GB, free: 10.16 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.005991/0.5068, allocations: 3.81 MB / 0.5142 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00393/0.5108, allocations: 2.052 MB / 0.5162 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.5108, allocations: 0 / 0.5162 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.5132, allocations: 1.359 MB / 0.5175 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.5158, allocations: 461.5 kB / 0.518 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/0.5494, allocations: 17.51 MB / 0.5351 GB, free: 288 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2185/0.7679, allocations: 1.825 MB / 0.5369 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001554/0.7695, allocations: 395.6 kB / 0.5372 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.7706, allocations: 0.8083 MB / 0.538 GB, free: 102.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7706, allocations: 0 / 0.538 GB, free: 102.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07749/0.8481, allocations: 44.86 MB / 0.5818 GB, free: 66.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/22.61, allocations: 0 / 0.5818 GB, free: 66.3 MB / 446.1 MB " [Timeout remaining time 637] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 29.124462340027094]