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.001427/0.001427, allocations: 117.6 kB / 17.78 MB, free: 5.258 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: 204.7 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2711, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0109/0.282, allocations: 8.952 MB / 418.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005605/0.2877, allocations: 2.944 MB / 421.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.2887, allocations: 43.88 kB / 421.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.2903, allocations: 0.6407 MB / 421.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.2923, allocations: 0.7691 MB / 422.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006443/0.293, allocations: 323.5 kB / 422.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.2953, allocations: 2.381 MB / 425.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.2972, allocations: 1.758 MB / 427.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.2985, allocations: 1.078 MB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.3001, allocations: 1.347 MB / 429.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.3004, allocations: 276 kB / 429.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.3011, allocations: 387.8 kB / 430.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007675/0.3019, allocations: 0.7986 MB / 430.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.303, allocations: 1.264 MB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.3062, allocations: 3.701 MB / 435.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3062, allocations: 7.938 kB / 435.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3062, allocations: 0 / 435.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.3063, allocations: 0 / 435.9 MB, free: 6.789 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.00435/0.3106, allocations: 2.594 MB / 438.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3107, allocations: 8.031 kB / 438.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.3116, allocations: 290 kB / 438.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.3137, allocations: 1.412 MB / 440.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/0.3138, allocations: 135.9 kB / 440.3 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.3141, allocations: 187.8 kB / 440.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.3177, allocations: 2.406 MB / 442.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.3177, allocations: 11.91 kB / 442.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.3179, allocations: 72 kB / 443 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.43e-05/0.318, allocations: 87.48 kB / 443.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.3212, allocations: 2.012 MB / 445.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.3317, allocations: 7.374 MB / 452.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.3335, allocations: 1.265 MB / 453.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.3352, allocations: 0.9159 MB / 454.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.3354, allocations: 114.1 kB / 454.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3355, allocations: 43.56 kB / 454.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.916e-06/0.3355, allocations: 0 / 454.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.008984/0.3445, allocations: 4.906 MB / 459.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3445, allocations: 64.41 kB / 459.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.3464, allocations: 1.389 MB / 461.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.3465, allocations: 41.7 kB / 461.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/0.3471, allocations: 0.9048 MB / 462.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.3474, allocations: 350.9 kB / 462.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.3478, allocations: 218.8 kB / 462.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3479, allocations: 353.9 kB / 463 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009654/0.3489, allocations: 0.6272 MB / 463.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.3501, allocations: 0.9375 MB / 464.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.3523, allocations: 1.641 MB / 466.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3523, allocations: 4 kB / 466.2 MB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004089/0.3564, allocations: 2.394 MB / 468.6 MB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3564, allocations: 8 kB / 468.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.3565, allocations: 8 kB / 468.6 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.3583, allocations: 0.7206 MB / 469.3 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.3592, allocations: 231.7 kB / 469.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.37, allocations: 8.729 MB / 478.3 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3713, allocations: 83.81 kB / 478.4 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.3714, allocations: 52.11 kB / 478.4 MB, free: 11.08 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.001172/0.3726, allocations: 0.6339 MB / 479.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.3729, allocations: 146.2 kB / 479.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.3762, allocations: 1.897 MB / 481.1 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3762, allocations: 15.94 kB / 481.1 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3762, allocations: 0 / 481.1 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3762, allocations: 4.109 kB / 481.1 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/0.3831, allocations: 4.005 MB / 485.1 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3831, allocations: 0 / 485.1 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.3839, allocations: 184 kB / 485.3 MB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.3852, allocations: 474.3 kB / 485.8 MB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.3853, allocations: 27.98 kB / 485.8 MB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.3921, allocations: 6.684 MB / 492.5 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3921, allocations: 3.938 kB / 492.5 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.3967, allocations: 2.779 MB / 495.3 MB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/0.3976, allocations: 355.3 kB / 495.6 MB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/0.3979, allocations: 24 kB / 495.6 MB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/0.3989, allocations: 71.92 kB / 495.7 MB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.3992, allocations: 76.88 kB / 495.8 MB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/0.3993, allocations: 31.98 kB / 495.8 MB, free: 9.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001845/0.4011, allocations: 0.9624 MB / 496.8 MB, free: 8.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4011, allocations: 7.938 kB / 496.8 MB, free: 8.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001765/0.4029, allocations: 436 kB / 497.2 MB, free: 7.656 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.0004024/0.4033, allocations: 186.7 kB / 497.4 MB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.4069, allocations: 2.011 MB / 499.4 MB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4069, allocations: 1.875 kB / 499.4 MB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.409, allocations: 1.336 MB / 0.489 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.411, allocations: 389.1 kB / 0.4894 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.4181, allocations: 4.016 MB / 0.4933 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/0.4197, allocations: 1.693 MB / 0.495 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009943/0.4207, allocations: 324 kB / 0.4953 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.4211, allocations: 95.42 kB / 0.4954 GB, free: 13.45 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4211, allocations: 0 / 0.4954 GB, free: 13.45 MB / 430.1 MB Notification: Performance of Templates: time 0.04277/0.4639, allocations: 24.5 MB / 0.5193 GB, free: 5.145 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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