Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 59.91 kB / 377.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2865, allocations: 53.41 MB / 431.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01309/0.2996, allocations: 9.614 MB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.3072, allocations: 3.68 MB / 444.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.3088, allocations: 63.56 kB / 444.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.3108, allocations: 0.7652 MB / 445.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.3134, allocations: 0.8896 MB / 446.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3146, allocations: 459.1 kB / 446.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003104/0.3177, allocations: 2.432 MB / 449.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3192, allocations: 1.049 MB / 450.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.3212, allocations: 1.133 MB / 451.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.3236, allocations: 1.44 MB / 452.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.324, allocations: 276 kB / 453 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.3248, allocations: 423.8 kB / 453.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008459/0.3256, allocations: 0.8181 MB / 454.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.327, allocations: 1.283 MB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.3313, allocations: 3.765 MB / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3313, allocations: 0 / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3313, allocations: 0 / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.661e-05/0.3314, allocations: 3.938 kB / 459.3 MB, free: 10.44 MB / 366.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.005391/0.3368, allocations: 2.667 MB / 461.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3368, allocations: 8.031 kB / 461.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/0.3372, allocations: 278.6 kB / 462.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.3379, allocations: 299.3 kB / 462.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.3405, allocations: 1.329 MB / 463.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3406, allocations: 143.7 kB / 464 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.3409, allocations: 188 kB / 464.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.3448, allocations: 2.436 MB / 466.6 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.3448, allocations: 11.94 kB / 466.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.345, allocations: 79.98 kB / 466.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.3451, allocations: 95.67 kB / 466.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.3485, allocations: 1.982 MB / 468.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3601, allocations: 7.199 MB / 476 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.3619, allocations: 1.053 MB / 477 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3635, allocations: 0.8194 MB / 477.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.3637, allocations: 52.89 kB / 477.9 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.3649, allocations: 0.6865 MB / 478.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.945e-06/0.3649, allocations: 0 / 478.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01562/0.3805, allocations: 6.84 MB / 485.4 MB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.3806, allocations: 167.2 kB / 485.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.3828, allocations: 1.431 MB / 487 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.3829, allocations: 45.7 kB / 487 MB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000988/0.3839, allocations: 0.9701 MB / 488 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.3843, allocations: 436.3 kB / 488.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.3847, allocations: 251.5 kB / 488.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3849, allocations: 361.9 kB / 489 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.386, allocations: 0.6325 MB / 489.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3874, allocations: 0.9975 MB / 490.7 MB, free: 10.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.3902, allocations: 1.715 MB / 492.4 MB, free: 8.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3902, allocations: 0 / 492.4 MB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00424/0.3944, allocations: 2.273 MB / 494.7 MB, free: 6.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.3944, allocations: 10.19 kB / 494.7 MB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.3945, allocations: 12 kB / 494.7 MB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3957, allocations: 488.2 kB / 495.2 MB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3968, allocations: 299.5 kB / 495.4 MB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.4049, allocations: 6.876 MB / 0.4906 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4062, allocations: 107.9 kB / 0.4907 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.4063, allocations: 48 kB / 0.4907 GB, free: 14.08 MB / 414.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.00128/0.4076, allocations: 0.6495 MB / 0.4913 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.4081, allocations: 163 kB / 0.4915 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.4121, allocations: 2.064 MB / 0.4935 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4121, allocations: 12 kB / 0.4935 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.4121, allocations: 4 kB / 0.4935 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.4122, allocations: 11.98 kB / 0.4935 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/0.4209, allocations: 4.335 MB / 0.4978 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4209, allocations: 8.031 kB / 0.4978 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.4217, allocations: 191.7 kB / 0.498 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4232, allocations: 0.531 MB / 0.4985 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.4233, allocations: 31.98 kB / 0.4985 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009127/0.4324, allocations: 8.328 MB / 0.5066 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4324, allocations: 12.05 kB / 0.5066 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/0.4382, allocations: 3.009 MB / 0.5096 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.4393, allocations: 298.8 kB / 0.5099 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.4398, allocations: 28 kB / 0.5099 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4408, allocations: 71.92 kB / 0.51 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.4411, allocations: 108.7 kB / 0.5101 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.4412, allocations: 35.98 kB / 0.5101 GB, free: 9.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.4431, allocations: 0.9874 MB / 0.5111 GB, free: 8.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4431, allocations: 3.938 kB / 0.5111 GB, free: 8.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001936/0.4451, allocations: 451.9 kB / 0.5115 GB, free: 8.082 MB / 430.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.007451/0.4525, allocations: 3.938 MB / 0.5153 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004216/0.4567, allocations: 2.038 MB / 0.5173 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4567, allocations: 0 / 0.5173 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002843/0.4596, allocations: 1.4 MB / 0.5187 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.4626, allocations: 427.9 kB / 0.5191 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2431/0.7057, allocations: 16.08 MB / 0.5348 GB, free: 102.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.7076, allocations: 1.708 MB / 0.5365 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.7088, allocations: 325.6 kB / 0.5368 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000913/0.7097, allocations: 0.75 MB / 0.5375 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7097, allocations: 0 / 0.5375 GB, free: 101.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08434/0.794, allocations: 42.98 MB / 0.5795 GB, free: 67.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.31, allocations: 4 kB / 0.5795 GB, free: 67.39 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 646] Reference file matches [Calling sys.exit(0), Time elapsed: 46.14270493807271]