Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001729/0.001729, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2321, allocations: 50.55 MB / 410.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01065/0.2428, allocations: 8.972 MB / 419.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.2478, allocations: 2.945 MB / 422.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.2484, allocations: 39.88 kB / 422.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.2498, allocations: 0.6562 MB / 422.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.2515, allocations: 0.7652 MB / 423.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.2521, allocations: 339.5 kB / 423.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.2548, allocations: 2.373 MB / 426.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.2565, allocations: 1.282 MB / 427.6 MB, free: 104 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.2579, allocations: 1.075 MB / 428.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.2597, allocations: 1.347 MB / 430 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.26, allocations: 280 kB / 430.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.2607, allocations: 383.8 kB / 430.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.2615, allocations: 0.8102 MB / 431.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.2628, allocations: 1.264 MB / 432.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.2666, allocations: 3.713 MB / 436.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2666, allocations: 0 / 436.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2666, allocations: 0 / 436.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.2666, allocations: 0 / 436.4 MB, free: 7.215 MB / 350.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.00484/0.2715, allocations: 2.655 MB / 439.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2715, allocations: 12.03 kB / 439.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.2724, allocations: 303.3 kB / 439.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.2748, allocations: 1.413 MB / 440.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.2749, allocations: 135.9 kB / 440.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.2752, allocations: 191.9 kB / 441.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.2791, allocations: 2.406 MB / 443.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.2791, allocations: 0 / 443.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.2793, allocations: 79.92 kB / 443.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.2794, allocations: 95.44 kB / 443.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.2828, allocations: 2.016 MB / 445.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.2941, allocations: 7.384 MB / 453.1 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.296, allocations: 1.218 MB / 454.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.2977, allocations: 0.8612 MB / 455.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.2979, allocations: 118.1 kB / 455.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.2979, allocations: 51.5 kB / 455.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.284e-06/0.2979, allocations: 0 / 455.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009268/0.3072, allocations: 4.918 MB / 460.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3073, allocations: 64.41 kB / 460.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.3092, allocations: 1.393 MB / 461.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.3093, allocations: 41.7 kB / 461.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.31, allocations: 0.9188 MB / 462.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.3103, allocations: 368.9 kB / 463 MB, free: 12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3107, allocations: 214.9 kB / 463.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3108, allocations: 353.9 kB / 463.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3119, allocations: 0.6311 MB / 464.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3131, allocations: 0.9375 MB / 465.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.3155, allocations: 1.641 MB / 466.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.587e-06/0.3155, allocations: 7.938 kB / 466.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00422/0.3198, allocations: 2.38 MB / 469.2 MB, free: 5.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.3198, allocations: 8 kB / 469.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3198, allocations: 12 kB / 469.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.3216, allocations: 0.7166 MB / 469.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.3225, allocations: 235.6 kB / 470.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.334, allocations: 8.745 MB / 478.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.335, allocations: 83.81 kB / 479 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/0.3351, allocations: 51.98 kB / 479 MB, free: 11.45 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.001042/0.3362, allocations: 0.6223 MB / 479.7 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.3364, allocations: 155.1 kB / 479.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.3398, allocations: 1.89 MB / 481.7 MB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3398, allocations: 12 kB / 481.7 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3398, allocations: 4 kB / 481.7 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3398, allocations: 7.969 kB / 481.7 MB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/0.3466, allocations: 3.997 MB / 485.7 MB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3466, allocations: 4 kB / 485.7 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.3474, allocations: 187.8 kB / 485.9 MB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3486, allocations: 459.2 kB / 486.4 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-05/0.3487, allocations: 31.92 kB / 486.4 MB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/0.3558, allocations: 6.68 MB / 493.1 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3558, allocations: 7.938 kB / 493.1 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.3603, allocations: 2.776 MB / 495.9 MB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.3611, allocations: 368 kB / 496.2 MB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.3613, allocations: 27.98 kB / 496.2 MB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.362, allocations: 67.92 kB / 496.3 MB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.3623, allocations: 80.89 kB / 496.4 MB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.3623, allocations: 35.92 kB / 496.4 MB, free: 9.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.3638, allocations: 0.9625 MB / 497.4 MB, free: 8.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0 / 497.4 MB, free: 8.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001376/0.3651, allocations: 435.9 kB / 497.8 MB, free: 8.035 MB / 414.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.0003595/0.3655, allocations: 185.8 kB / 498 MB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.3688, allocations: 1.938 MB / 499.9 MB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3688, allocations: 8 kB / 499.9 MB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.371, allocations: 1.308 MB / 0.4895 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.3726, allocations: 379.4 kB / 0.4899 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.3796, allocations: 4.067 MB / 0.4938 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/0.3813, allocations: 1.693 MB / 0.4955 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009805/0.3823, allocations: 320 kB / 0.4958 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.3826, allocations: 99.42 kB / 0.4959 GB, free: 13.87 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3826, allocations: 0 / 0.4959 GB, free: 13.87 MB / 430.1 MB Notification: Performance of Templates: time 0.04478/0.4274, allocations: 24.7 MB / 0.52 GB, free: 5.402 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches