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.001817/0.001817, allocations: 114 kB / 20.43 MB, free: 1.457 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.002408/0.002408, allocations: 214 kB / 23.74 MB, free: 4.672 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2636, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0118/0.2754, allocations: 9.029 MB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.2813, allocations: 2.969 MB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.2829, allocations: 55.62 kB / 443.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.2851, allocations: 0.644 MB / 443.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.2881, allocations: 0.7807 MB / 444.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2892, allocations: 343.5 kB / 445 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.293, allocations: 2.37 MB / 447.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.2951, allocations: 1.02 MB / 448.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.297, allocations: 1.098 MB / 449.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.2995, allocations: 1.39 MB / 450.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.3, allocations: 280 kB / 451.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009206/0.3009, allocations: 383.8 kB / 451.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008793/0.3018, allocations: 0.8102 MB / 452.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.3034, allocations: 1.272 MB / 453.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004362/0.3077, allocations: 3.706 MB / 457.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3077, allocations: 0 / 457.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3077, allocations: 0 / 457.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.39e-05/0.3078, allocations: 0 / 457.3 MB, free: 12.41 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.005805/0.3136, allocations: 2.587 MB / 459.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3137, allocations: 11.97 kB / 459.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004398/0.3141, allocations: 278 kB / 460.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3152, allocations: 311.3 kB / 460.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.3179, allocations: 1.334 MB / 461.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.318, allocations: 135.7 kB / 462 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.3184, allocations: 187.9 kB / 462.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.3227, allocations: 2.402 MB / 464.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.3228, allocations: 7.984 kB / 464.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.3229, allocations: 79.98 kB / 464.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.3231, allocations: 83.5 kB / 464.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.327, allocations: 2.016 MB / 466.7 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3401, allocations: 7.265 MB / 474 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3419, allocations: 0.9911 MB / 475 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.3436, allocations: 0.8503 MB / 475.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.3438, allocations: 44.95 kB / 475.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.3438, allocations: 51.55 kB / 475.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/0.3438, allocations: 0 / 475.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009664/0.3535, allocations: 4.695 MB / 480.6 MB, free: 4.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3535, allocations: 64.41 kB / 480.7 MB, free: 4.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.356, allocations: 1.389 MB / 482.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.3561, allocations: 45.7 kB / 482.1 MB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.357, allocations: 0.9189 MB / 483 MB, free: 2.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.3574, allocations: 372.9 kB / 483.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.3578, allocations: 214.9 kB / 483.6 MB, free: 1.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.358, allocations: 353.9 kB / 484 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.359, allocations: 0.6272 MB / 484.6 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3604, allocations: 0.9259 MB / 485.5 MB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/0.3629, allocations: 1.653 MB / 487.2 MB, free: 13.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.3629, allocations: 7.938 kB / 487.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00459/0.3675, allocations: 2.368 MB / 489.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.3676, allocations: 16 kB / 489.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.3676, allocations: 11.94 kB / 489.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.3695, allocations: 0.7126 MB / 490.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/0.3704, allocations: 231.7 kB / 490.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.3824, allocations: 8.549 MB / 499.1 MB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3837, allocations: 79.86 kB / 499.1 MB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.3839, allocations: 51.94 kB / 499.2 MB, free: 1.602 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.001573/0.3855, allocations: 0.6301 MB / 499.8 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/0.386, allocations: 151.1 kB / 500 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.3898, allocations: 1.901 MB / 0.4901 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3899, allocations: 8 kB / 0.4901 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.3899, allocations: 4 kB / 0.4901 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3899, allocations: 3.984 kB / 0.4901 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/0.3982, allocations: 3.957 MB / 0.494 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3983, allocations: 0 / 0.494 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.3991, allocations: 183.7 kB / 0.4942 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.4004, allocations: 463.1 kB / 0.4946 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.4005, allocations: 35.92 kB / 0.4946 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00762/0.4081, allocations: 6.378 MB / 0.5009 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.4081, allocations: 12.03 kB / 0.5009 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.4134, allocations: 2.776 MB / 0.5036 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.4146, allocations: 290.9 kB / 0.5039 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/0.4151, allocations: 24.05 kB / 0.5039 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.4161, allocations: 71.91 kB / 0.504 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4163, allocations: 88.83 kB / 0.504 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.4164, allocations: 27.94 kB / 0.5041 GB, free: 92 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001997/0.4184, allocations: 0.9665 MB / 0.505 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4184, allocations: 0 / 0.505 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001818/0.4202, allocations: 428 kB / 0.5054 GB, free: 14.7 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.005772/0.426, allocations: 3.407 MB / 0.5087 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.4301, allocations: 1.938 MB / 0.5106 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4301, allocations: 0 / 0.5106 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.4325, allocations: 1.233 MB / 0.5118 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.4354, allocations: 379.1 kB / 0.5122 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/0.4684, allocations: 16.41 MB / 0.5282 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.4706, allocations: 1.693 MB / 0.5299 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.4717, allocations: 324 kB / 0.5302 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.473, allocations: 0.6985 MB / 0.5309 GB, free: 4.008 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/0.473, allocations: 3.938 kB / 0.5309 GB, free: 4.004 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.299/0.7719, allocations: 41.32 MB / 0.5712 GB, free: 76.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.39/20.16, allocations: 3.938 kB / 0.5712 GB, free: 76.54 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 24.380146818002686]