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.0009/0.0009001, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009709/0.0009712, allocations: 206.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002436, allocations: 4.188 kB / 308.4 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08803, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.00861/0.09667, allocations: 8.39 MB / 368.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.1023, allocations: 2.902 MB / 371.2 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1036, allocations: 35.88 kB / 371.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.1054, allocations: 0.5322 MB / 371.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.1079, allocations: 0.6723 MB / 372.5 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1089, allocations: 291.7 kB / 372.7 MB, free: 400 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1635/0.2724, allocations: 2.729 MB / 375.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002789/0.2753, allocations: 1.441 MB / 376.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.2773, allocations: 0.8282 MB / 377.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.2798, allocations: 1.153 MB / 378.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008723/0.2808, allocations: 120.6 kB / 379 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.2824, allocations: 235.9 kB / 379.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.2838, allocations: 0.6122 MB / 379.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.2861, allocations: 1.084 MB / 380.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.2903, allocations: 2.978 MB / 383.9 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2903, allocations: 0 / 383.9 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2903, allocations: 4 kB / 383.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.2904, allocations: 0 / 383.9 MB, free: 8.996 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.005927/0.2964, allocations: 2.222 MB / 386.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2964, allocations: 9.25 kB / 386.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.298, allocations: 298.7 kB / 386.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.3009, allocations: 1.366 MB / 387.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3011, allocations: 135.5 kB / 387.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.3017, allocations: 187.5 kB / 388.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.3065, allocations: 2.42 MB / 390.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.3066, allocations: 3.062 kB / 390.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3068, allocations: 73.59 kB / 390.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.307, allocations: 92.36 kB / 390.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/0.3107, allocations: 2.029 MB / 392.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.323, allocations: 7.508 MB / 400.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.325, allocations: 1.28 MB / 401.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3267, allocations: 0.913 MB / 402.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.327, allocations: 122.7 kB / 402.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.327, allocations: 39.56 kB / 402.6 MB, free: 13.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 3.456e-06/0.327, allocations: 5.406 kB / 402.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009905/0.337, allocations: 4.938 MB / 407.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.337, allocations: 68.34 kB / 407.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.34, allocations: 1.385 MB / 409 MB, free: 6.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.3402, allocations: 41.7 kB / 409 MB, free: 6.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008027/0.341, allocations: 0.9112 MB / 409.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.3414, allocations: 346.3 kB / 410.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3417, allocations: 109.7 kB / 410.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3418, allocations: 349.9 kB / 410.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.343, allocations: 0.6389 MB / 411.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.3443, allocations: 0.9415 MB / 412.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.3467, allocations: 1.655 MB / 414 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3467, allocations: 0 / 414 MB, free: 1.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004415/0.3511, allocations: 2.414 MB / 416.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3512, allocations: 8 kB / 416.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.3512, allocations: 8.75 kB / 416.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.353, allocations: 0.7157 MB / 417.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.3539, allocations: 239.7 kB / 417.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009989/0.3639, allocations: 8.021 MB / 425.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.3653, allocations: 91.98 kB / 425.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.3655, allocations: 47.98 kB / 425.5 MB, free: 5.77 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.001343/0.3669, allocations: 0.6262 MB / 426.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/0.3673, allocations: 150.2 kB / 426.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/0.3708, allocations: 1.913 MB / 428.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3708, allocations: 12 kB / 428.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.3709, allocations: 7.984 kB / 428.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.3709, allocations: 7.922 kB / 428.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007349/0.3782, allocations: 4.021 MB / 432.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/0.3783, allocations: 4 kB / 432.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.3791, allocations: 187.7 kB / 432.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.3803, allocations: 463 kB / 432.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.3804, allocations: 31.98 kB / 432.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005773/0.3862, allocations: 6.158 MB / 439.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3862, allocations: 0 / 439.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.3906, allocations: 2.806 MB / 441.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007786/0.3914, allocations: 355.2 kB / 442.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.3917, allocations: 27.94 kB / 442.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/0.3925, allocations: 75.92 kB / 442.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.3927, allocations: 84.81 kB / 442.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.3928, allocations: 27.98 kB / 442.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001436/0.3942, allocations: 0.9664 MB / 443.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3942, allocations: 0 / 443.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00153/0.3957, allocations: 435.9 kB / 443.8 MB, free: 2.859 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.0003511/0.3961, allocations: 183.4 kB / 444 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.3994, allocations: 2.015 MB / 446 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3994, allocations: 1.875 kB / 446 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.4013, allocations: 1.356 MB / 447.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.4036, allocations: 370.4 kB / 447.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/0.4105, allocations: 5.019 MB / 452.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.4118, allocations: 1.689 MB / 454.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.4123, allocations: 103.4 kB / 454.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4123, allocations: 3.938 kB / 454.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Templates: time 0.06363/0.4759, allocations: 52.62 MB / 0.4953 GB, free: 3.363 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