Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008453/0.0008452, allocations: 94.59 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002582, allocations: 4 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.1898/0.2898, allocations: 13.22 MB / 373.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.2999, allocations: 5.047 MB / 378.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.3031, allocations: 77.12 kB / 378.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.3082, allocations: 0.987 MB / 379.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.3156, allocations: 1.255 MB / 380.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.3194, allocations: 0.911 MB / 381.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008935/0.3283, allocations: 4.418 MB / 385.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006762/0.3351, allocations: 2.699 MB / 388.5 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.3397, allocations: 1.343 MB / 389.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005432/0.3452, allocations: 1.757 MB / 391.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.3471, allocations: 207.5 kB / 391.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.3505, allocations: 486.8 kB / 392.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.3519, allocations: 0.7869 MB / 393.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003629/0.3555, allocations: 1.782 MB / 394.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.363, allocations: 5.604 MB / 400.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3631, allocations: 0 / 400.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3631, allocations: 0 / 400.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002535/0.3634, allocations: 3.312 kB / 400.5 MB, free: 14.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01835/0.3817, allocations: 3.819 MB / 404.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3818, allocations: 8 kB / 404.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008046/0.3899, allocations: 0.831 MB / 405.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.3976, allocations: 2.382 MB / 407.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.398, allocations: 246.3 kB / 407.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.3993, allocations: 318.5 kB / 408.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.4143, allocations: 4.29 MB / 412.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.4145, allocations: 0 / 412.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009868/0.4155, allocations: 130.9 kB / 412.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002619/0.4157, allocations: 158.4 kB / 412.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.4281, allocations: 3.636 MB / 416.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03652/0.4646, allocations: 13.57 MB / 429.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.476, allocations: 7.23 MB / 437.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004677/0.4807, allocations: 1.588 MB / 438.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009954/0.4907, allocations: 4.338 MB / 443 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.4921, allocations: 0.8689 MB / 443.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 4.168e-06/0.4921, allocations: 0 / 443.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01381/0.5059, allocations: 6.745 MB / 450.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.506, allocations: 226.9 kB / 450.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.5095, allocations: 1.936 MB / 452.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5096, allocations: 53.7 kB / 452.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.511, allocations: 1.486 MB / 454.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/0.5114, allocations: 489.6 kB / 454.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.5116, allocations: 141.6 kB / 454.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.5117, allocations: 301.1 kB / 455.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.513, allocations: 0.6754 MB / 455.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.5146, allocations: 1.229 MB / 457.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.5174, allocations: 1.962 MB / 459.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.5175, allocations: 4 kB / 459.1 MB, free: 3.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004306/0.5218, allocations: 2.522 MB / 461.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5218, allocations: 8 kB / 461.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.5218, allocations: 16 kB / 461.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/0.5227, allocations: 343.4 kB / 462 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.5241, allocations: 375.4 kB / 462.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.5303, allocations: 6.285 MB / 468.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.5319, allocations: 103.9 kB / 468.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.532, allocations: 71.98 kB / 468.8 MB, free: 9.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00186/0.5339, allocations: 1.05 MB / 469.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004258/0.5343, allocations: 197.6 kB / 470.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.5385, allocations: 2.356 MB / 472.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.5386, allocations: 12 kB / 472.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.5386, allocations: 8 kB / 472.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.5386, allocations: 11.91 kB / 472.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008772/0.5474, allocations: 5.236 MB / 477.7 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5474, allocations: 4 kB / 477.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.5482, allocations: 175.8 kB / 477.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.5495, allocations: 0.4998 MB / 478.4 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5496, allocations: 39.98 kB / 478.4 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.5602, allocations: 10.64 MB / 489 MB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5602, allocations: 3.938 kB / 489 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.5655, allocations: 3.249 MB / 492.3 MB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.5665, allocations: 442.4 kB / 492.7 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.567, allocations: 32 kB / 492.7 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5681, allocations: 67.95 kB / 492.8 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.5684, allocations: 105.2 kB / 492.9 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.5685, allocations: 35.98 kB / 493 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.5709, allocations: 1.331 MB / 494.3 MB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5709, allocations: 0 / 494.3 MB, free: 15.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00232/0.5732, allocations: 0.5939 MB / 494.9 MB, free: 14.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.5744, allocations: 486 kB / 495.4 MB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.578, allocations: 2.233 MB / 497.6 MB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.578, allocations: 4 kB / 497.6 MB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002387/0.5804, allocations: 1.61 MB / 499.2 MB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/0.5832, allocations: 0.5126 MB / 499.7 MB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.5945, allocations: 7.376 MB / 0.4952 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/0.5967, allocations: 2.31 MB / 0.4975 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.5973, allocations: 147.4 kB / 0.4976 GB, free: 20 kB / 414.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5973, allocations: 0 / 0.4976 GB, free: 20 kB / 414.1 MB Notification: Performance of Templates: time 0.3033/0.9005, allocations: 114.4 MB / 0.6093 GB, free: 79.57 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches