Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001277/0.001277, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001486/0.001486, allocations: 208.2 kB / 24.53 MB, free: 4.07 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.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 8.023 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_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 63.89 kB / 378.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3107, allocations: 53.42 MB / 432 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01621/0.3269, allocations: 9.038 MB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008988/0.3359, allocations: 2.968 MB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.3379, allocations: 55.62 kB / 444 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.3408, allocations: 0.6443 MB / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004488/0.3453, allocations: 0.7769 MB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3469, allocations: 343.5 kB / 445.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005278/0.3521, allocations: 2.385 MB / 448.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.3552, allocations: 1.009 MB / 449.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.358, allocations: 1.102 MB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.3623, allocations: 1.39 MB / 451.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.3637, allocations: 280 kB / 452 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3657, allocations: 383.8 kB / 452.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.3677, allocations: 0.8103 MB / 453.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003774/0.3715, allocations: 1.26 MB / 454.4 MB, free: 124 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.3791, allocations: 3.717 MB / 458.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.3791, allocations: 3.984 kB / 458.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3791, allocations: 0 / 458.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001444/0.3793, allocations: 0 / 458.1 MB, free: 12.38 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.009757/0.389, allocations: 2.579 MB / 460.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.3891, allocations: 12.03 kB / 460.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001032/0.3892, allocations: 51.77 kB / 460.8 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007248/0.3899, allocations: 266 kB / 461 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.3915, allocations: 303.3 kB / 461.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003987/0.3955, allocations: 1.341 MB / 462.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.3957, allocations: 139.5 kB / 462.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.3962, allocations: 187.9 kB / 463 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005098/0.4013, allocations: 2.41 MB / 465.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.4013, allocations: 3.984 kB / 465.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.4015, allocations: 72 kB / 465.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.4016, allocations: 87.5 kB / 465.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.4051, allocations: 2.02 MB / 467.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.4178, allocations: 7.253 MB / 474.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.4197, allocations: 0.988 MB / 475.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.4214, allocations: 0.8542 MB / 476.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.4217, allocations: 56.92 kB / 476.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.4217, allocations: 43.56 kB / 476.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.966e-06/0.4217, allocations: 0 / 476.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01026/0.432, allocations: 4.699 MB / 481.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.432, allocations: 60.41 kB / 481.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.4346, allocations: 1.397 MB / 482.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4347, allocations: 41.7 kB / 483 MB, free: 3.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008756/0.4356, allocations: 0.9189 MB / 483.9 MB, free: 2.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.436, allocations: 368.8 kB / 484.2 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.4364, allocations: 218.8 kB / 484.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4365, allocations: 353.9 kB / 484.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.4376, allocations: 0.6311 MB / 485.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.4389, allocations: 0.9299 MB / 486.4 MB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.4413, allocations: 1.649 MB / 488 MB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.4413, allocations: 0 / 488 MB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004636/0.446, allocations: 2.379 MB / 490.4 MB, free: 11.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.446, allocations: 8 kB / 490.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.446, allocations: 8 kB / 490.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.448, allocations: 0.7206 MB / 491.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.449, allocations: 235.7 kB / 491.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.4611, allocations: 8.526 MB / 499.9 MB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4624, allocations: 83.86 kB / 500 MB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.4626, allocations: 44 kB / 0.4883 GB, free: 1.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001309/0.4639, allocations: 0.6341 MB / 0.4889 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.4643, allocations: 151.2 kB / 0.4891 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.468, allocations: 1.901 MB / 0.4909 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.468, allocations: 16 kB / 0.4909 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.468, allocations: 3.984 kB / 0.4909 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.468, allocations: 7.984 kB / 0.4909 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/0.4755, allocations: 3.957 MB / 0.4948 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4755, allocations: 0 / 0.4948 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.4763, allocations: 184 kB / 0.495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.4776, allocations: 470.9 kB / 0.4954 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.4777, allocations: 27.92 kB / 0.4955 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.4847, allocations: 6.386 MB / 0.5017 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4847, allocations: 4.031 kB / 0.5017 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/0.4895, allocations: 2.769 MB / 0.5044 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/0.4905, allocations: 290.9 kB / 0.5047 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.491, allocations: 24 kB / 0.5047 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.492, allocations: 71.92 kB / 0.5048 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4923, allocations: 88.7 kB / 0.5048 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.4924, allocations: 28 kB / 0.5049 GB, free: 32 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.4944, allocations: 0.9663 MB / 0.5058 GB, free: 15.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4944, allocations: 0 / 0.5058 GB, free: 15.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001854/0.4963, allocations: 436 kB / 0.5062 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.005245/0.5015, allocations: 3.408 MB / 0.5096 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.5052, allocations: 1.933 MB / 0.5115 GB, free: 9.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5052, allocations: 0 / 0.5115 GB, free: 9.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.5075, allocations: 1.23 MB / 0.5127 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.5101, allocations: 397.4 kB / 0.513 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.5393, allocations: 16.4 MB / 0.5291 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.5412, allocations: 1.693 MB / 0.5307 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009783/0.5422, allocations: 316 kB / 0.531 GB, free: 4.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.5432, allocations: 0.7101 MB / 0.5317 GB, free: 3.938 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5432, allocations: 4 kB / 0.5317 GB, free: 3.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/0.8034, allocations: 41.34 MB / 0.5721 GB, free: 76.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/19.86, allocations: 15.86 kB / 0.5721 GB, free: 76.27 MB / 446.1 MB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 25.822763319010846]