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.001151/0.001151, allocations: 103.3 kB / 17.69 MB, free: 5.484 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.001228/0.001228, allocations: 188.8 kB / 18.63 MB, free: 4.559 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.3/1.3, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 48.06 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2512, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01089/0.2621, allocations: 9.466 MB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.2688, allocations: 3.464 MB / 414.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2701, allocations: 47.81 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.272, allocations: 0.7184 MB / 415.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.2744, allocations: 0.8077 MB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.2757, allocations: 477.6 kB / 416.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.2785, allocations: 2.401 MB / 418.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.2805, allocations: 1.778 MB / 420.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.282, allocations: 1.098 MB / 421.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2836, allocations: 1.382 MB / 423 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.284, allocations: 276 kB / 423.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007722/0.2848, allocations: 415.8 kB / 423.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000747/0.2856, allocations: 0.7986 MB / 424.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.2869, allocations: 1.279 MB / 425.7 MB, free: 416 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.2901, allocations: 3.73 MB / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2902, allocations: 0 / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2902, allocations: 0 / 429.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-05/0.2902, allocations: 0 / 429.5 MB, free: 12.66 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.005026/0.2953, allocations: 2.659 MB / 432.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2953, allocations: 16.02 kB / 432.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/0.296, allocations: 270 kB / 432.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.2982, allocations: 1.384 MB / 433.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2983, allocations: 139.7 kB / 433.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000309/0.2986, allocations: 191.9 kB / 434.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.3025, allocations: 2.44 MB / 436.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.703e-05/0.3026, allocations: 11.89 kB / 436.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.3028, allocations: 72 kB / 436.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.796e-05/0.3029, allocations: 103.5 kB / 436.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.3062, allocations: 1.986 MB / 438.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.3177, allocations: 7.311 MB / 446 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.3198, allocations: 1.349 MB / 447.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3214, allocations: 0.901 MB / 448.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.3217, allocations: 122.1 kB / 448.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.3228, allocations: 0.6789 MB / 449.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.086e-06/0.3228, allocations: 0 / 449.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01599/0.3388, allocations: 7.336 MB / 456.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.339, allocations: 171.2 kB / 456.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.3411, allocations: 1.418 MB / 458 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3412, allocations: 45.7 kB / 458.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.342, allocations: 0.9326 MB / 459 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.3424, allocations: 433.9 kB / 459.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.3428, allocations: 243.5 kB / 459.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.343, allocations: 353.9 kB / 460 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.344, allocations: 0.6403 MB / 460.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.3453, allocations: 1.001 MB / 461.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.3477, allocations: 1.707 MB / 463.3 MB, free: 9.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.3477, allocations: 4 kB / 463.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004028/0.3517, allocations: 2.336 MB / 465.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.3518, allocations: 11.94 kB / 465.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.3518, allocations: 12.25 kB / 465.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.353, allocations: 491.9 kB / 466.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3541, allocations: 299.5 kB / 466.5 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.3611, allocations: 7.182 MB / 473.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.3624, allocations: 99.77 kB / 473.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.3626, allocations: 55.98 kB / 473.8 MB, free: 14.82 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.001195/0.3638, allocations: 0.6263 MB / 474.4 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.3641, allocations: 150.1 kB / 474.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.3679, allocations: 2.162 MB / 476.7 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3679, allocations: 15.98 kB / 476.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.3679, allocations: 4 kB / 476.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.368, allocations: 7.984 kB / 476.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/0.376, allocations: 4.449 MB / 481.2 MB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.376, allocations: 0 / 481.2 MB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.3768, allocations: 183.8 kB / 481.4 MB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.3783, allocations: 0.539 MB / 481.9 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.3784, allocations: 35.98 kB / 482 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008209/0.3866, allocations: 8.733 MB / 490.7 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.3867, allocations: 7.938 kB / 490.7 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.3918, allocations: 3.079 MB / 493.8 MB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.3927, allocations: 371 kB / 494.2 MB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.3931, allocations: 32 kB / 494.2 MB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/0.3941, allocations: 71.92 kB / 494.3 MB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.3944, allocations: 96.75 kB / 494.4 MB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/0.3945, allocations: 47.91 kB / 494.4 MB, free: 9.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001632/0.3962, allocations: 0.9753 MB / 495.4 MB, free: 8.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3962, allocations: 4 kB / 495.4 MB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001749/0.3979, allocations: 448 kB / 495.8 MB, free: 7.941 MB / 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.001282/0.3992, allocations: 0.4959 MB / 496.3 MB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.4029, allocations: 2.248 MB / 498.6 MB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.403, allocations: 4.312 kB / 498.6 MB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.4056, allocations: 1.518 MB / 0.4884 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.408, allocations: 427.9 kB / 0.4888 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.4155, allocations: 4.28 MB / 0.493 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.4171, allocations: 1.682 MB / 0.4946 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.4176, allocations: 119.4 kB / 0.4947 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4176, allocations: 0 / 0.4947 GB, free: 13.08 MB / 430.1 MB Notification: Performance of Templates: time 0.2746/0.6922, allocations: 73.32 MB / 0.5663 GB, free: 114.6 MB / 462.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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches