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.001691/0.001691, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002094/0.002094, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.494/1.494, allocations: 230.5 MB / 258.2 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="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.00188/0.00188, allocations: 63.91 kB / 378.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01216/0.3252, allocations: 8.354 MB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007513/0.3327, allocations: 2.874 MB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3349, allocations: 59.62 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.3373, allocations: 0.6211 MB / 443.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.3406, allocations: 0.8195 MB / 444.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3417, allocations: 367.5 kB / 445 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.3459, allocations: 2.681 MB / 447.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.3479, allocations: 1.156 MB / 448.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.3501, allocations: 1.238 MB / 450.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.3531, allocations: 1.537 MB / 451.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006652/0.3538, allocations: 308 kB / 451.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3549, allocations: 411.8 kB / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.356, allocations: 0.8998 MB / 453.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.3584, allocations: 1.147 MB / 454.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006402/0.3648, allocations: 4.138 MB / 458.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.3648, allocations: 3.984 kB / 458.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.165e-06/0.3648, allocations: 0 / 458.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001816/0.365, allocations: 0 / 458.5 MB, free: 11.72 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.009183/0.3741, allocations: 2.857 MB / 461.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.3742, allocations: 12.03 kB / 461.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.653e-05/0.3743, allocations: 52.22 kB / 461.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005112/0.3748, allocations: 299.5 kB / 461.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3761, allocations: 335.1 kB / 462.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.3796, allocations: 1.496 MB / 463.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.3799, allocations: 156 kB / 463.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/0.3804, allocations: 203.9 kB / 463.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005701/0.3861, allocations: 2.832 MB / 466.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/0.3861, allocations: 11.89 kB / 466.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.3863, allocations: 87.98 kB / 466.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3865, allocations: 95.92 kB / 466.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/0.3911, allocations: 2.326 MB / 469.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/0.4094, allocations: 7.546 MB / 476.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.4118, allocations: 1.248 MB / 478 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.4138, allocations: 1.011 MB / 479.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.414, allocations: 44.91 kB / 479.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.4141, allocations: 43.56 kB / 479.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/0.4141, allocations: 11.94 kB / 479.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01354/0.4276, allocations: 5.927 MB / 485.1 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4277, allocations: 64.41 kB / 485.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.4303, allocations: 1.529 MB / 486.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.4304, allocations: 45.7 kB / 486.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.4313, allocations: 1.021 MB / 487.7 MB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.4318, allocations: 428.4 kB / 488.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.4323, allocations: 255.5 kB / 488.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.4325, allocations: 357.9 kB / 488.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4343, allocations: 0.7378 MB / 489.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.4366, allocations: 1.052 MB / 490.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.4408, allocations: 1.883 MB / 492.4 MB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4408, allocations: 0 / 492.4 MB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004584/0.4454, allocations: 2.357 MB / 494.8 MB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.4454, allocations: 10.66 kB / 494.8 MB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.4454, allocations: 12 kB / 494.8 MB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.4465, allocations: 407.5 kB / 495.2 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4478, allocations: 323.5 kB / 495.5 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.4537, allocations: 4.844 MB / 0.4886 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.4555, allocations: 95.86 kB / 0.4887 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4556, allocations: 48 kB / 0.4888 GB, free: 0.6328 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.001738/0.4574, allocations: 0.7043 MB / 0.4895 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.4579, allocations: 178.9 kB / 0.4896 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/0.4622, allocations: 2.137 MB / 0.4917 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.4622, allocations: 12 kB / 0.4917 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.4622, allocations: 4 kB / 0.4917 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4622, allocations: 3.984 kB / 0.4917 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009506/0.4717, allocations: 4.284 MB / 0.4959 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.4718, allocations: 7.938 kB / 0.4959 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4728, allocations: 227.9 kB / 0.4961 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.4741, allocations: 466.9 kB / 0.4966 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.4742, allocations: 31.98 kB / 0.4966 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006847/0.481, allocations: 6.346 MB / 0.5028 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.481, allocations: 4.031 kB / 0.5028 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.4863, allocations: 3.181 MB / 0.5059 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.4873, allocations: 330.8 kB / 0.5062 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4875, allocations: 31.98 kB / 0.5063 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.4884, allocations: 75.92 kB / 0.5063 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.4886, allocations: 112.7 kB / 0.5065 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/0.4887, allocations: 39.92 kB / 0.5065 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.4907, allocations: 1.056 MB / 0.5075 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4907, allocations: 0 / 0.5075 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002319/0.493, allocations: 460 kB / 0.508 GB, free: 12.44 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.008738/0.5017, allocations: 3.814 MB / 0.5117 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005787/0.5075, allocations: 2.052 MB / 0.5137 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.5075, allocations: 0 / 0.5137 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00368/0.5112, allocations: 1.363 MB / 0.515 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.5149, allocations: 451.3 kB / 0.5155 GB, free: 4.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/0.5474, allocations: 17.5 MB / 0.5325 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.5489, allocations: 1.257 MB / 0.5338 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.5501, allocations: 397.6 kB / 0.5341 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.5513, allocations: 0.8078 MB / 0.5349 GB, free: 76 kB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5513, allocations: 0 / 0.5349 GB, free: 76 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.31/0.8612, allocations: 46.58 MB / 0.5804 GB, free: 67.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/22.53, allocations: 0 / 0.5804 GB, free: 67.48 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.127271561068483]