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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.19 kB / 306.9 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1013, allocations: 50.53 MB / 357.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009707/0.1111, allocations: 8.9 MB / 366.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005416/0.1165, allocations: 2.929 MB / 369.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.118, allocations: 39.88 kB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.1201, allocations: 0.5322 MB / 369.8 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1226, allocations: 0.6684 MB / 370.5 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.1235, allocations: 291.7 kB / 370.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1609/0.2844, allocations: 2.74 MB / 373.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.2866, allocations: 1.445 MB / 375 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.2881, allocations: 0.9336 MB / 375.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.2901, allocations: 1.305 MB / 377.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.2905, allocations: 171.4 kB / 377.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.2913, allocations: 284.9 kB / 377.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.2921, allocations: 0.6847 MB / 378.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2934, allocations: 1.152 MB / 379.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.2964, allocations: 3.053 MB / 382.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2964, allocations: 5.094 kB / 382.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2964, allocations: 0 / 382.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.187e-05/0.2965, allocations: 0 / 382.6 MB, free: 8.84 MB / 302.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.005134/0.3016, allocations: 2.591 MB / 385.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3017, allocations: 8.75 kB / 385.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.3027, allocations: 292.1 kB / 385.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.3048, allocations: 1.369 MB / 386.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.3049, allocations: 136.6 kB / 387 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.3052, allocations: 187.7 kB / 387.1 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.3091, allocations: 2.41 MB / 389.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.3092, allocations: 7.281 kB / 389.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.3093, allocations: 79.67 kB / 389.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.3094, allocations: 84.16 kB / 389.7 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.3125, allocations: 2.018 MB / 391.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.3239, allocations: 7.462 MB / 399.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3257, allocations: 1.269 MB / 400.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3273, allocations: 0.9072 MB / 401.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.3275, allocations: 120.6 kB / 401.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3275, allocations: 38.75 kB / 401.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.3276, allocations: 0 / 401.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009971/0.3375, allocations: 4.903 MB / 406.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3376, allocations: 64.41 kB / 406.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.3401, allocations: 1.393 MB / 407.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.3402, allocations: 41.7 kB / 407.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.3409, allocations: 0.9004 MB / 408.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.3413, allocations: 356.4 kB / 409.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.3417, allocations: 217.9 kB / 409.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3418, allocations: 357.9 kB / 409.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3429, allocations: 0.6305 MB / 410.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.3441, allocations: 0.9293 MB / 411.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.3464, allocations: 1.641 MB / 412.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.3464, allocations: 11.22 kB / 412.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004296/0.3507, allocations: 2.386 MB / 415.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3508, allocations: 12 kB / 415.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3508, allocations: 8 kB / 415.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.3527, allocations: 0.7168 MB / 416.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.3536, allocations: 235.6 kB / 416.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.364, allocations: 8.011 MB / 424.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.3654, allocations: 79.91 kB / 424.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.3656, allocations: 44 kB / 424.4 MB, free: 6.141 MB / 334.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.001305/0.3669, allocations: 0.638 MB / 425.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.3674, allocations: 146.2 kB / 425.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.3709, allocations: 1.897 MB / 427.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3709, allocations: 12 kB / 427.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3709, allocations: 7.938 kB / 427.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.371, allocations: 7.922 kB / 427.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.3785, allocations: 4.019 MB / 431.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.3785, allocations: 4 kB / 431.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.3793, allocations: 179.7 kB / 431.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.3806, allocations: 463.1 kB / 431.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.3807, allocations: 23.98 kB / 431.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.3869, allocations: 6.149 MB / 438 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.387, allocations: 0 / 438 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.3914, allocations: 2.782 MB / 440.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009935/0.3924, allocations: 359.2 kB / 441.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/0.3929, allocations: 23.94 kB / 441.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.394, allocations: 75.92 kB / 441.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3942, allocations: 76.88 kB / 441.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.3943, allocations: 31.98 kB / 441.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001868/0.3962, allocations: 0.9608 MB / 442.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.3962, allocations: 0 / 442.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002014/0.3982, allocations: 439.8 kB / 442.7 MB, free: 3.293 MB / 350.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.0004874/0.3987, allocations: 193.7 kB / 442.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.4023, allocations: 2 MB / 444.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4023, allocations: 0 / 444.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.4045, allocations: 1.34 MB / 446.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.407, allocations: 365.4 kB / 446.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.4156, allocations: 4.897 MB / 451.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.4177, allocations: 1.677 MB / 453.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.4183, allocations: 103.4 kB / 453.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4183, allocations: 0 / 453.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of Templates: time 0.06596/0.4843, allocations: 52.91 MB / 0.4943 GB, free: 3.684 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) 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.0.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) Reference file matches