Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.896/0.896, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 4 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.745e-05, allocations: 2.281 kB / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.00916/0.009178, allocations: 11.75 MB / 311.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.01495, allocations: 4.525 MB / 316 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.01581, allocations: 87.44 kB / 316.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.01744, allocations: 1.091 MB / 317.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.01928, allocations: 1.39 MB / 318.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.02038, allocations: 0.9855 MB / 319.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.02283, allocations: 4.241 MB / 323.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.02433, allocations: 1.714 MB / 325.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.02645, allocations: 2.854 MB / 328.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.02795, allocations: 1.843 MB / 330.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.02835, allocations: 0.5078 MB / 330.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.02908, allocations: 0.7416 MB / 331.5 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.02967, allocations: 1.172 MB / 332.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009583/0.03063, allocations: 1.45 MB / 334.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.03458, allocations: 6.848 MB / 340.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.03458, allocations: 0 / 340.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03458, allocations: 0 / 340.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.686e-05/0.03463, allocations: 0 / 340.9 MB, free: 13.47 MB / 330.7 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.005432/0.04006, allocations: 4.474 MB / 345.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.0401, allocations: 11.98 kB / 345.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.04214, allocations: 0.8416 MB / 346.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.04462, allocations: 2.248 MB / 348.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.04475, allocations: 250.3 kB / 348.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.04508, allocations: 316 kB / 349.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/0.04975, allocations: 4.439 MB / 353.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.0498, allocations: 3.953 kB / 353.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.05001, allocations: 136 kB / 353.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-05/0.05011, allocations: 154.4 kB / 353.8 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1337/0.1838, allocations: 3.605 MB / 357.4 MB, free: 56.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.1957, allocations: 11.36 MB / 368.7 MB, free: 50.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.1986, allocations: 2.655 MB / 371.4 MB, free: 48.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.1998, allocations: 1.248 MB / 372.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003123/0.2029, allocations: 3.191 MB / 375.8 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.2036, allocations: 1.003 MB / 376.8 MB, free: 45.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.705e-06/0.2036, allocations: 2.625 kB / 376.8 MB, free: 45.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.006179/0.2098, allocations: 5.905 MB / 382.8 MB, free: 39.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2098, allocations: 222.9 kB / 383 MB, free: 38.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.2111, allocations: 1.705 MB / 384.7 MB, free: 37.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.2112, allocations: 49.7 kB / 384.7 MB, free: 37.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.2118, allocations: 1.522 MB / 386.2 MB, free: 35.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.212, allocations: 0.4956 MB / 386.7 MB, free: 35.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.2122, allocations: 311.4 kB / 387 MB, free: 35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.2123, allocations: 301.1 kB / 387.3 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.2129, allocations: 0.6598 MB / 388 MB, free: 34.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.2136, allocations: 1.393 MB / 389.4 MB, free: 32.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.215, allocations: 1.94 MB / 391.3 MB, free: 30.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.215, allocations: 4 kB / 391.3 MB, free: 30.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001949/0.217, allocations: 2.346 MB / 393.7 MB, free: 27.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.217, allocations: 12 kB / 393.7 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.217, allocations: 17.86 kB / 393.7 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004069/0.2174, allocations: 287.5 kB / 394 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.2181, allocations: 379.4 kB / 394.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.2207, allocations: 5.935 MB / 400.3 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.2212, allocations: 92.06 kB / 400.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/0.2213, allocations: 75.98 kB / 400.5 MB, free: 20.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008888/0.2222, allocations: 1.032 MB / 401.5 MB, free: 19.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2223, allocations: 190.8 kB / 401.7 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2242, allocations: 2.075 MB / 403.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2242, allocations: 16 kB / 403.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2242, allocations: 8 kB / 403.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.2242, allocations: 7.969 kB / 403.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.228, allocations: 4.215 MB / 408 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.228, allocations: 4.188 kB / 408 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.2284, allocations: 184.7 kB / 408.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/0.229, allocations: 467.7 kB / 408.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.229, allocations: 31.98 kB / 408.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.2334, allocations: 10.4 MB / 419.1 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2334, allocations: 0 / 419.1 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.2361, allocations: 2.964 MB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.2366, allocations: 342.7 kB / 422.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.2367, allocations: 32 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.2371, allocations: 63.94 kB / 422.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.2373, allocations: 121 kB / 422.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.2373, allocations: 36 kB / 422.6 MB, free: 14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.2384, allocations: 1.153 MB / 423.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2384, allocations: 0 / 423.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001396/0.2398, allocations: 0.582 MB / 424.4 MB, free: 12.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 96 * 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,5,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.0008793/0.2407, allocations: 0.4891 MB / 424.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.2428, allocations: 2.029 MB / 426.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2428, allocations: 4 kB / 426.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.2441, allocations: 1.513 MB / 428.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2452, allocations: 448.9 kB / 428.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/0.2514, allocations: 5.667 MB / 434.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.2526, allocations: 1.758 MB / 436.2 MB, free: 204 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.2529, allocations: 136.5 kB / 436.4 MB, free: 68 kB / 346.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2529, allocations: 0 / 436.4 MB, free: 68 kB / 346.7 MB Notification: Performance of Templates: time 0.2064/0.4593, allocations: 114 MB / 0.5375 GB, free: 123.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.178689183667302]