Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009295, allocations: 94.17 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 182.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 5.781 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 50.43 MB / 351.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008535/0.12, allocations: 7.689 MB / 358.8 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.1266, allocations: 3.31 MB / 362.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.1281, allocations: 39.81 kB / 362.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.1298, allocations: 0.6183 MB / 362.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.1324, allocations: 0.6893 MB / 363.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1336, allocations: 334.5 kB / 363.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.1365, allocations: 1.567 MB / 365.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.1381, allocations: 1.256 MB / 366.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.1397, allocations: 0.7706 MB / 367.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.1413, allocations: 0.9923 MB / 368.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.1416, allocations: 124 kB / 368.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.1423, allocations: 211.8 kB / 368.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007148/0.143, allocations: 0.5764 MB / 369.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.1436, allocations: 460.5 kB / 369.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.1462, allocations: 2.949 MB / 372.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1463, allocations: 0 / 372.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1463, allocations: 4 kB / 372.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.683e-05/0.1463, allocations: 0 / 372.7 MB, free: 6.059 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004809/0.1511, allocations: 2.273 MB / 375 MB, free: 3.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1512, allocations: 15.97 kB / 375 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006859/0.1519, allocations: 265.1 kB / 375.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.1543, allocations: 1.322 MB / 376.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1544, allocations: 139.7 kB / 376.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.1547, allocations: 188 kB / 376.9 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.1586, allocations: 2.42 MB / 379.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.1586, allocations: 7.906 kB / 379.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.1588, allocations: 76 kB / 379.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1589, allocations: 95.67 kB / 379.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.1621, allocations: 1.974 MB / 381.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.173, allocations: 7.374 MB / 388.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1748, allocations: 1.355 MB / 390.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.175, allocations: 122.1 kB / 390.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000979/0.176, allocations: 0.6983 MB / 391 MB, free: 3.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.176, allocations: 4 kB / 391 MB, free: 3.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01463/0.1907, allocations: 7.285 MB / 398.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.1908, allocations: 167.2 kB / 398.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.1926, allocations: 1.36 MB / 399.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.1928, allocations: 49.7 kB / 399.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007785/0.1935, allocations: 0.9326 MB / 400.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.1939, allocations: 425.9 kB / 401.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.1939, allocations: 24 kB / 401.3 MB, free: 8.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1941, allocations: 365.9 kB / 401.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/0.1951, allocations: 0.6364 MB / 402.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1962, allocations: 0.9928 MB / 403.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.1974, allocations: 0.7989 MB / 404 MB, free: 5.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.1974, allocations: 4 kB / 404 MB, free: 5.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003538/0.2009, allocations: 2.312 MB / 406.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.201, allocations: 8 kB / 406.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.201, allocations: 8 kB / 406.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.2021, allocations: 484.1 kB / 406.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.2032, allocations: 303.5 kB / 407.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.2094, allocations: 6.521 MB / 413.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.2109, allocations: 91.98 kB / 413.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.211, allocations: 55.98 kB / 413.8 MB, free: 11.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.001379/0.2124, allocations: 0.6339 MB / 414.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.2127, allocations: 154.1 kB / 414.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.2161, allocations: 2.14 MB / 416.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.2161, allocations: 16.08 kB / 416.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2161, allocations: 4 kB / 416.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.2161, allocations: 11.97 kB / 416.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007092/0.2232, allocations: 4.422 MB / 421.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.2233, allocations: 3.938 kB / 421.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.224, allocations: 199.7 kB / 421.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.2253, allocations: 0.5174 MB / 421.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.2254, allocations: 31.98 kB / 421.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2323/0.4577, allocations: 7.984 MB / 429.9 MB, free: 59.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4578, allocations: 6.469 kB / 429.9 MB, free: 59.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.4627, allocations: 3.242 MB / 433.2 MB, free: 59.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009929/0.4637, allocations: 369.2 kB / 433.5 MB, free: 59.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.464, allocations: 33.97 kB / 433.6 MB, free: 59.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/0.4648, allocations: 73.55 kB / 433.6 MB, free: 59.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.465, allocations: 97 kB / 433.7 MB, free: 59.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.4651, allocations: 45.36 kB / 433.8 MB, free: 59.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001541/0.4667, allocations: 0.9339 MB / 434.7 MB, free: 59.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4667, allocations: 0 / 434.7 MB, free: 59.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4684, allocations: 446.9 kB / 435.1 MB, free: 59.03 MB / 350.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 (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.001198/0.4696, allocations: 475.6 kB / 435.6 MB, free: 58.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.4736, allocations: 2.239 MB / 437.8 MB, free: 58.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4736, allocations: 0 / 437.8 MB, free: 58.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.4759, allocations: 1.51 MB / 439.3 MB, free: 57.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.478, allocations: 379.9 kB / 439.7 MB, free: 57.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/0.4846, allocations: 5.045 MB / 444.8 MB, free: 55.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.4859, allocations: 1.733 MB / 446.5 MB, free: 54.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.487, allocations: 330.5 kB / 446.8 MB, free: 54.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4873, allocations: 106.2 kB / 446.9 MB, free: 54.23 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4873, allocations: 4.391 kB / 446.9 MB, free: 54.23 MB / 350.1 MB Notification: Performance of Templates: time 0.03245/0.5197, allocations: 22.37 MB / 469.3 MB, free: 35.08 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches