Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, 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.001166/0.001166, 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.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 62.58 kB / 306.9 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1023, allocations: 50.52 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01072/0.1131, allocations: 9.367 MB / 366.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.1191, allocations: 3.034 MB / 369.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.1207, allocations: 43.81 kB / 369.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.1228, allocations: 0.5594 MB / 370.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.1255, allocations: 0.7072 MB / 371.1 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.1265, allocations: 327.6 kB / 371.5 MB, free: 408 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.176/0.3025, allocations: 3.074 MB / 374.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.3049, allocations: 1.817 MB / 376.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.307, allocations: 1.04 MB / 377.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.3094, allocations: 1.441 MB / 378.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.3098, allocations: 193.7 kB / 379 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/0.3108, allocations: 301.8 kB / 379.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008097/0.3116, allocations: 0.7575 MB / 380.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.3133, allocations: 1.282 MB / 381.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.3168, allocations: 3.369 MB / 384.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3168, allocations: 1.156 kB / 384.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3168, allocations: 3.938 kB / 384.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.317, allocations: 0 / 384.7 MB, free: 8.184 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006515/0.3235, allocations: 2.869 MB / 387.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3236, allocations: 9.438 kB / 387.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3247, allocations: 319.3 kB / 387.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.3273, allocations: 1.513 MB / 389.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.3274, allocations: 154.4 kB / 389.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.3278, allocations: 196.4 kB / 389.8 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.3322, allocations: 2.737 MB / 392.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.3323, allocations: 10.81 kB / 392.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.3325, allocations: 81.59 kB / 392.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3326, allocations: 96.36 kB / 392.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.3364, allocations: 2.323 MB / 395 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3495, allocations: 8.421 MB / 403.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.3516, allocations: 1.778 MB / 405.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.3535, allocations: 1.063 MB / 406.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.3537, allocations: 124.2 kB / 406.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3538, allocations: 43.56 kB / 406.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.3538, allocations: 7.938 kB / 406.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01317/0.367, allocations: 6.2 MB / 412.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3671, allocations: 68.39 kB / 412.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.3694, allocations: 1.529 MB / 414.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.3696, allocations: 45.7 kB / 414.3 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007248/0.3704, allocations: 0.987 MB / 415.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.3708, allocations: 423.4 kB / 415.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.3712, allocations: 251.5 kB / 415.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3713, allocations: 361.9 kB / 416.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3725, allocations: 0.73 MB / 417 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.3738, allocations: 1.055 MB / 418.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.3763, allocations: 1.878 MB / 420 MB, free: 10.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3763, allocations: 3.938 kB / 420 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004081/0.3804, allocations: 2.357 MB / 422.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3805, allocations: 8 kB / 422.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3805, allocations: 8 kB / 422.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/0.3815, allocations: 418.8 kB / 422.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3827, allocations: 327.5 kB / 423.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004746/0.3875, allocations: 4.65 MB / 427.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.3891, allocations: 99.88 kB / 427.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.3893, allocations: 48 kB / 427.9 MB, free: 2.328 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.3907, allocations: 0.7081 MB / 428.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.3912, allocations: 162 kB / 428.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.3949, allocations: 2.149 MB / 430.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.395, allocations: 12 kB / 430.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.395, allocations: 4 kB / 430.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.395, allocations: 7.922 kB / 430.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008105/0.4031, allocations: 4.588 MB / 435.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.4031, allocations: 4 kB / 435.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009646/0.4041, allocations: 219.7 kB / 435.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.4054, allocations: 470.7 kB / 436.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.502e-05/0.4055, allocations: 31.98 kB / 436.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.4116, allocations: 6.145 MB / 442.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.4116, allocations: 3.938 kB / 442.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.4167, allocations: 3.171 MB / 445.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009879/0.4177, allocations: 410.9 kB / 445.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.4179, allocations: 24 kB / 445.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.4188, allocations: 75.91 kB / 446 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.4191, allocations: 104.8 kB / 446.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.4191, allocations: 36 kB / 446.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.4208, allocations: 1.064 MB / 447.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4208, allocations: 0 / 447.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4225, allocations: 460 kB / 447.7 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003896/0.4229, allocations: 197 kB / 447.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.4266, allocations: 2.259 MB / 450.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4266, allocations: 0 / 450.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.4288, allocations: 1.492 MB / 451.6 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.4311, allocations: 418.3 kB / 452 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/0.4391, allocations: 5.461 MB / 457.5 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.4405, allocations: 1.799 MB / 459.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006068/0.4412, allocations: 123.4 kB / 459.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4412, allocations: 0 / 459.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of Templates: time 0.06997/0.5111, allocations: 70.27 MB / 0.5173 GB, free: 11.75 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches