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.000898/0.000898, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.0009703/0.0009701, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.657/1.657, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003315, allocations: 6.062 kB / 300.8 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 50.43 MB / 351.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009652/0.1328, allocations: 8.37 MB / 359.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007347/0.1402, allocations: 3.239 MB / 362.9 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.1424, allocations: 47.75 kB / 362.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.1456, allocations: 0.5984 MB / 363.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.149, allocations: 0.6916 MB / 364.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1509, allocations: 338.5 kB / 364.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004275/0.1552, allocations: 2.459 MB / 367 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.1579, allocations: 1.252 MB / 368.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.1598, allocations: 0.8365 MB / 369.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.1622, allocations: 1.148 MB / 370.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006734/0.1629, allocations: 124 kB / 370.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.165, allocations: 223.8 kB / 370.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.1668, allocations: 0.6113 MB / 371.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.1684, allocations: 460.5 kB / 371.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.1726, allocations: 2.976 MB / 374.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1726, allocations: 3.938 kB / 374.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1726, allocations: 4 kB / 374.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001579/0.1728, allocations: 7.938 kB / 374.6 MB, free: 4.242 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.006216/0.179, allocations: 2.3 MB / 376.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1791, allocations: 8.031 kB / 376.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.1805, allocations: 261.1 kB / 377.2 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.1831, allocations: 1.307 MB / 378.5 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1832, allocations: 139.7 kB / 378.6 MB, free: 124 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.1835, allocations: 191.9 kB / 378.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.1877, allocations: 2.428 MB / 381.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.1878, allocations: 15.84 kB / 381.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.188, allocations: 72 kB / 381.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.1881, allocations: 95.67 kB / 381.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.1914, allocations: 1.97 MB / 383.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.2021, allocations: 7.433 MB / 390.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2039, allocations: 1.345 MB / 392.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2053, allocations: 0.8938 MB / 393.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.2055, allocations: 118.1 kB / 393.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.2066, allocations: 0.6828 MB / 393.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.2066, allocations: 0 / 393.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01432/0.2209, allocations: 7.395 MB / 401.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.2211, allocations: 171.2 kB / 401.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.223, allocations: 1.407 MB / 402.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.2231, allocations: 45.7 kB / 402.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007656/0.2238, allocations: 0.9365 MB / 403.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.2242, allocations: 421.9 kB / 404.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.2242, allocations: 32 kB / 404.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2244, allocations: 353.9 kB / 404.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.2254, allocations: 0.6325 MB / 405.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.2267, allocations: 1.001 MB / 406.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2278, allocations: 0.791 MB / 407 MB, free: 2.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.2278, allocations: 4 kB / 407 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00369/0.2315, allocations: 2.328 MB / 409.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.2316, allocations: 8 kB / 409.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.2316, allocations: 12 kB / 409.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.2327, allocations: 492.2 kB / 409.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.2337, allocations: 299.5 kB / 410.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/0.2403, allocations: 6.576 MB / 416.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2417, allocations: 100.1 kB / 416.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.2418, allocations: 56 kB / 416.9 MB, free: 8.641 MB / 350.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 ($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 (148): * Single equations (assignments): 143 * 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%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.2431, allocations: 0.6339 MB / 417.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.2434, allocations: 158.1 kB / 417.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.2471, allocations: 2.151 MB / 419.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2471, allocations: 16 kB / 419.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2471, allocations: 7.938 kB / 419.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.2472, allocations: 11.95 kB / 419.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007027/0.2542, allocations: 4.459 MB / 424.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2542, allocations: 0 / 424.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.255, allocations: 192.1 kB / 424.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.2563, allocations: 0.5295 MB / 425 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.2564, allocations: 35.98 kB / 425.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2535/0.5099, allocations: 8.013 MB / 433.1 MB, free: 58.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5099, allocations: 7.969 kB / 433.1 MB, free: 58.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.5153, allocations: 3.069 MB / 436.1 MB, free: 57.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009368/0.5163, allocations: 377.8 kB / 436.5 MB, free: 57.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5165, allocations: 33.97 kB / 436.5 MB, free: 57.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.5173, allocations: 72.95 kB / 436.6 MB, free: 57.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.5175, allocations: 101.2 kB / 436.7 MB, free: 57.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.5176, allocations: 36.66 kB / 436.7 MB, free: 57.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00166/0.5193, allocations: 0.9684 MB / 437.7 MB, free: 57.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5193, allocations: 0 / 437.7 MB, free: 57.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001901/0.5212, allocations: 449.2 kB / 438.2 MB, free: 57.55 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 (104): * Single equations (assignments): 97 * 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%) 6,(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.001146/0.5224, allocations: 474.8 kB / 438.6 MB, free: 57.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.5263, allocations: 2.248 MB / 440.9 MB, free: 56.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.5263, allocations: 3.797 kB / 440.9 MB, free: 56.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.5286, allocations: 1.518 MB / 442.4 MB, free: 56.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.5308, allocations: 394.6 kB / 442.8 MB, free: 56.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.5381, allocations: 5.041 MB / 447.8 MB, free: 53.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.5396, allocations: 1.702 MB / 449.5 MB, free: 52.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.5409, allocations: 327.3 kB / 449.8 MB, free: 52.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.5412, allocations: 106 kB / 449.9 MB, free: 52.45 MB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5412, allocations: 0 / 449.9 MB, free: 52.45 MB / 350.1 MB Notification: Performance of Templates: time 0.03523/0.5764, allocations: 22.78 MB / 472.7 MB, free: 32.3 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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