Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002425, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.643/3.643, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.01765/0.01765, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007633/0.0007637, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1542, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.02149/0.1758, allocations: 7.652 MB / 382.2 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.1895, allocations: 3.253 MB / 385.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.1923, allocations: 39.81 kB / 385.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.1967, allocations: 0.6105 MB / 386.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005833/0.2026, allocations: 0.6971 MB / 386.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.2057, allocations: 311.5 kB / 387.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006678/0.2124, allocations: 1.583 MB / 388.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4136/0.6261, allocations: 1.224 MB / 389.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.6296, allocations: 0.7619 MB / 390.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.6345, allocations: 1 MB / 391.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.6361, allocations: 120.6 kB / 391.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.6389, allocations: 211.7 kB / 392 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.6419, allocations: 0.5902 MB / 392.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.6442, allocations: 460.8 kB / 393 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00971/0.654, allocations: 2.944 MB / 396 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.6541, allocations: 1.375 kB / 396 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6541, allocations: 0 / 396 MB, free: 9.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001938/0.6544, allocations: 0 / 396 MB, free: 9.711 MB / 282.7 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.01328/0.6677, allocations: 2.271 MB / 398.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.6678, allocations: 10.42 kB / 398.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.6707, allocations: 268.3 kB / 398.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006962/0.6777, allocations: 1.26 MB / 399.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.6782, allocations: 147.7 kB / 399.9 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.6796, allocations: 189.1 kB / 400.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.6944, allocations: 2.406 MB / 402.5 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002944/0.6948, allocations: 3.438 kB / 402.5 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.6962, allocations: 83 kB / 402.6 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004619/0.6967, allocations: 94.8 kB / 402.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.7099, allocations: 1.977 MB / 404.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03358/0.7436, allocations: 7.384 MB / 412.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004983/0.7487, allocations: 1.356 MB / 413.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.7493, allocations: 127.4 kB / 413.5 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002983/0.7523, allocations: 0.6805 MB / 414.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 8.456e-06/0.7524, allocations: 0 / 414.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.04663/0.799, allocations: 7.395 MB / 421.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.7993, allocations: 175.2 kB / 421.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/0.8048, allocations: 1.364 MB / 423.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000458/0.8053, allocations: 45.7 kB / 423.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.8071, allocations: 0.8941 MB / 424.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.8082, allocations: 419.6 kB / 424.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.8085, allocations: 32 kB / 424.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003303/0.8089, allocations: 361.5 kB / 424.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.812, allocations: 0.6481 MB / 425.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/0.816, allocations: 0.9936 MB / 426.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.8197, allocations: 0.7942 MB / 427.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.8198, allocations: 0 / 427.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.01065/0.8305, allocations: 2.22 MB / 429.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.8306, allocations: 8 kB / 429.5 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/0.8307, allocations: 13.88 kB / 429.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.8336, allocations: 479.1 kB / 430 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.8371, allocations: 303.5 kB / 430.3 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.8535, allocations: 6.534 MB / 436.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.8568, allocations: 95.98 kB / 437 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005463/0.8575, allocations: 59.98 kB / 437 MB, free: 11.8 MB / 314.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003341/0.8608, allocations: 0.6262 MB / 437.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008312/0.8617, allocations: 154.1 kB / 437.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.8718, allocations: 2.139 MB / 439.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-05/0.872, allocations: 12 kB / 439.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/0.872, allocations: 4 kB / 439.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-05/0.8721, allocations: 3.984 kB / 439.9 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.8939, allocations: 4.421 MB / 444.4 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.096e-05/0.894, allocations: 4.375 kB / 444.4 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/0.8964, allocations: 199.7 kB / 444.6 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/0.9001, allocations: 0.5075 MB / 445.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004555/0.9006, allocations: 31.98 kB / 445.1 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.9198, allocations: 7.991 MB / 453.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.9199, allocations: 8.062 kB / 453.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.9334, allocations: 3.23 MB / 456.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/0.9356, allocations: 378.9 kB / 456.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009765/0.9367, allocations: 31.98 kB / 456.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/0.9394, allocations: 67.94 kB / 456.8 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007225/0.9402, allocations: 108.8 kB / 456.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/0.9405, allocations: 35.98 kB / 456.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004053/0.9446, allocations: 0.9323 MB / 457.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.9446, allocations: 0 / 457.9 MB, free: 6.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004994/0.9497, allocations: 459.9 kB / 458.3 MB, free: 5.578 MB / 330.7 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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002697/0.9524, allocations: 460.4 kB / 458.8 MB, free: 5.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.9626, allocations: 2.247 MB / 461 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/0.9626, allocations: 5.938 kB / 461 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006465/0.9691, allocations: 1.506 MB / 462.5 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/0.9749, allocations: 380.5 kB / 462.9 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.004, allocations: 5.096 MB / 468 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009156/1.014, allocations: 1.721 MB / 469.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.015, allocations: 123.4 kB / 469.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.004e-06/1.015, allocations: 0 / 469.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of Templates: time 0.2529/1.268, allocations: 69.08 MB / 0.5263 GB, free: 4.602 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches