Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 113.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2598, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01023/0.2701, allocations: 9.506 MB / 419.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006061/0.2761, allocations: 3.623 MB / 423.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.2773, allocations: 51.75 kB / 423.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2789, allocations: 0.7301 MB / 423.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.2809, allocations: 0.8466 MB / 424.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.2819, allocations: 455.1 kB / 425.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.2843, allocations: 2.424 MB / 427.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.2861, allocations: 1.771 MB / 429.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.2875, allocations: 1.11 MB / 430.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.2892, allocations: 1.39 MB / 431.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003481/0.2896, allocations: 280 kB / 432.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007384/0.2903, allocations: 419.8 kB / 432.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006823/0.291, allocations: 0.8064 MB / 433.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.2922, allocations: 1.283 MB / 434.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.2956, allocations: 3.755 MB / 438.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2957, allocations: 0 / 438.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2957, allocations: 0 / 438.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.72e-05/0.2957, allocations: 8 kB / 438.4 MB, free: 4.98 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005031/0.3008, allocations: 2.675 MB / 441 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3008, allocations: 8.031 kB / 441.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.3016, allocations: 281.9 kB / 441.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.3041, allocations: 1.392 MB / 442.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3042, allocations: 143.7 kB / 442.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.3045, allocations: 187.9 kB / 443 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/0.3082, allocations: 2.444 MB / 445.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.3083, allocations: 3.938 kB / 445.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.3085, allocations: 79.98 kB / 445.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.476e-05/0.3086, allocations: 95.67 kB / 445.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.312, allocations: 1.99 MB / 447.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.3232, allocations: 7.312 MB / 455 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.325, allocations: 1.351 MB / 456.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3265, allocations: 0.8793 MB / 457.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.3268, allocations: 118.1 kB / 457.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.3278, allocations: 0.6789 MB / 458 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.436e-06/0.3278, allocations: 7.938 kB / 458 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01582/0.3437, allocations: 7.342 MB / 465.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.3438, allocations: 167.2 kB / 465.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.3463, allocations: 1.431 MB / 466.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/0.3464, allocations: 45.7 kB / 467 MB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008144/0.3473, allocations: 0.9406 MB / 467.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.3476, allocations: 417.9 kB / 468.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.3481, allocations: 247.5 kB / 468.6 MB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3482, allocations: 361.9 kB / 468.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3493, allocations: 0.6364 MB / 469.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3506, allocations: 1.001 MB / 470.6 MB, free: 3.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.3529, allocations: 1.707 MB / 472.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.3529, allocations: 4 kB / 472.3 MB, free: 2.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004027/0.3569, allocations: 2.343 MB / 474.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.357, allocations: 8 kB / 474.6 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.357, allocations: 12 kB / 474.6 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.3582, allocations: 0.4918 MB / 475.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.3593, allocations: 299.5 kB / 475.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.3664, allocations: 7.187 MB / 482.6 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3677, allocations: 91.86 kB / 482.7 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.3679, allocations: 55.98 kB / 482.8 MB, free: 7.105 MB / 398.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: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.3691, allocations: 0.6301 MB / 483.4 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/0.3694, allocations: 158 kB / 483.5 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.3731, allocations: 2.151 MB / 485.7 MB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3731, allocations: 12 kB / 485.7 MB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.3731, allocations: 4 kB / 485.7 MB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3732, allocations: 3.984 kB / 485.7 MB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.3812, allocations: 4.461 MB / 490.2 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3812, allocations: 11.94 kB / 490.2 MB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.382, allocations: 191.7 kB / 490.4 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.3834, allocations: 0.5308 MB / 490.9 MB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3836, allocations: 35.98 kB / 490.9 MB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/0.3919, allocations: 8.736 MB / 499.7 MB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.392, allocations: 4 kB / 499.7 MB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.397, allocations: 3.091 MB / 0.491 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009965/0.398, allocations: 363.1 kB / 0.4913 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.3984, allocations: 35.98 kB / 0.4914 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/0.3994, allocations: 71.92 kB / 0.4914 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.3996, allocations: 96.75 kB / 0.4915 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-05/0.3997, allocations: 39.98 kB / 0.4916 GB, free: 1.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.4017, allocations: 0.9874 MB / 0.4925 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4017, allocations: 0 / 0.4925 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002034/0.4037, allocations: 444 kB / 0.4929 GB, free: 216 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,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.001342/0.4051, allocations: 0.4965 MB / 0.4934 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.409, allocations: 2.259 MB / 0.4956 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.409, allocations: 0 / 0.4956 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.4114, allocations: 1.522 MB / 0.4971 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.4138, allocations: 422.1 kB / 0.4975 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.4212, allocations: 4.29 MB / 0.5017 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4229, allocations: 1.692 MB / 0.5034 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.4234, allocations: 127.3 kB / 0.5035 GB, free: 5.293 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4235, allocations: 0 / 0.5035 GB, free: 5.293 MB / 430.1 MB Notification: Performance of Templates: time 0.2678/0.6913, allocations: 74.11 MB / 0.5759 GB, free: 99.59 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches