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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001889/0.001889, allocations: 89.53 kB / 20.69 MB, free: 1.02 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.002259/0.002259, allocations: 157.8 kB / 23.95 MB, free: 4.148 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.507/1.507, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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=200000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.75 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.107e-05, allocations: 4.953 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01531/0.01533, allocations: 12.35 MB / 337.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.02674, allocations: 4.95 MB / 342.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.03044, allocations: 103.4 kB / 342.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.0343, allocations: 1.11 MB / 343.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005748/0.04005, allocations: 1.467 MB / 345 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.04308, allocations: 0.9815 MB / 346 MB, free: 4 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.04923, allocations: 4.334 MB / 350.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.05194, allocations: 1.743 MB / 352.1 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.05629, allocations: 2.873 MB / 355 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.05947, allocations: 1.859 MB / 356.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007837/0.06026, allocations: 0.5078 MB / 357.3 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.06183, allocations: 0.7534 MB / 358.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.06297, allocations: 1.168 MB / 359.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.06521, allocations: 1.458 MB / 360.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008287/0.0735, allocations: 6.906 MB / 367.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.0735, allocations: 0 / 367.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07351, allocations: 4 kB / 367.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001243/0.07363, allocations: 0 / 367.6 MB, free: 10.27 MB / 334.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.01177/0.0854, allocations: 4.504 MB / 372.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.08545, allocations: 15.98 kB / 372.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.09005, allocations: 0.8261 MB / 373 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.09509, allocations: 2.412 MB / 375.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.09531, allocations: 238.8 kB / 375.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007022/0.09601, allocations: 331.9 kB / 375.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008268/0.1043, allocations: 4.442 MB / 380.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.476e-05/0.1044, allocations: 7.938 kB / 380.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/0.1047, allocations: 135.9 kB / 380.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.1049, allocations: 154.4 kB / 380.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006814/0.1117, allocations: 3.625 MB / 384.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.133, allocations: 11.38 MB / 395.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005855/0.1388, allocations: 2.704 MB / 398.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.142, allocations: 1.53 MB / 399.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007126/0.1492, allocations: 3.443 MB / 403.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.1507, allocations: 1.023 MB / 404.4 MB, free: 5.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 3.647e-06/0.1507, allocations: 3.938 kB / 404.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01405/0.1648, allocations: 6.135 MB / 410.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1649, allocations: 218.9 kB / 410.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.1676, allocations: 1.73 MB / 412.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.1677, allocations: 53.64 kB / 412.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.1692, allocations: 1.54 MB / 414 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.1697, allocations: 0.4958 MB / 414.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.1702, allocations: 307.5 kB / 414.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1703, allocations: 309.1 kB / 415.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.1716, allocations: 0.6715 MB / 415.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.1734, allocations: 1.408 MB / 417.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.1764, allocations: 1.962 MB / 419.2 MB, free: 5.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.1764, allocations: 8 kB / 419.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004498/0.1809, allocations: 2.421 MB / 421.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.1809, allocations: 18.64 kB / 421.6 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.1809, allocations: 20 kB / 421.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009241/0.1819, allocations: 338.9 kB / 422 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.1834, allocations: 375.4 kB / 422.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/0.1905, allocations: 6.333 MB / 428.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.1921, allocations: 104 kB / 428.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.1922, allocations: 68 kB / 428.8 MB, free: 11.6 MB / 398.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.001906/0.1941, allocations: 1.046 MB / 429.9 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.1945, allocations: 194.8 kB / 430.1 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.1989, allocations: 2.157 MB / 432.2 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.1989, allocations: 12 kB / 432.2 MB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.1989, allocations: 8 kB / 432.3 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.1989, allocations: 7.969 kB / 432.3 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/0.207, allocations: 4.358 MB / 436.6 MB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.207, allocations: 4 kB / 436.6 MB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/0.2078, allocations: 187.8 kB / 436.8 MB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.2093, allocations: 0.4989 MB / 437.3 MB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.2094, allocations: 39.98 kB / 437.3 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.2224, allocations: 10.78 MB / 448.1 MB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2224, allocations: 7.938 kB / 448.1 MB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.2285, allocations: 3.074 MB / 451.2 MB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.2295, allocations: 342.6 kB / 451.5 MB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.2298, allocations: 39.94 kB / 451.6 MB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.2307, allocations: 63.95 kB / 451.6 MB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.231, allocations: 109.1 kB / 451.8 MB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.2311, allocations: 43.98 kB / 451.8 MB, free: 3.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.2332, allocations: 1.162 MB / 453 MB, free: 2.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2332, allocations: 3.938 kB / 453 MB, free: 2.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002075/0.2352, allocations: 0.5859 MB / 453.5 MB, free: 2.219 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 (100): * Single equations (assignments): 93 * 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.001929/0.2372, allocations: 0.4916 MB / 454 MB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.2411, allocations: 2.077 MB / 456.1 MB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2411, allocations: 4 kB / 456.1 MB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.244, allocations: 1.567 MB / 457.7 MB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.2461, allocations: 463.4 kB / 458.1 MB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.2565, allocations: 5.707 MB / 463.8 MB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/0.2588, allocations: 1.806 MB / 465.7 MB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001279/0.2601, allocations: 379.5 kB / 466 MB, free: 5.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.2605, allocations: 128.5 kB / 466.2 MB, free: 5.574 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2605, allocations: 0 / 466.2 MB, free: 5.574 MB / 430.1 MB Notification: Performance of Templates: time 0.1899/0.4504, allocations: 28.14 MB / 494.3 MB, free: 117.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.681243479251862]