Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 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 1.435/1.435, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.1 MB " [Timeout remaining time 178] 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.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 59.91 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1009, allocations: 49.11 MB / 391.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01192/0.1129, allocations: 9.477 MB / 400.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.1197, allocations: 3.409 MB / 404.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.1214, allocations: 39.81 kB / 404.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1234, allocations: 0.7731 MB / 405.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.126, allocations: 0.839 MB / 405.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1273, allocations: 455.2 kB / 406.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.1306, allocations: 2.412 MB / 408.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.1324, allocations: 1.266 MB / 410 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.1341, allocations: 1.102 MB / 411.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.1365, allocations: 1.417 MB / 412.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.137, allocations: 280 kB / 412.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.138, allocations: 423.8 kB / 413.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008865/0.1389, allocations: 0.8063 MB / 414.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.1404, allocations: 1.283 MB / 415.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00457/0.145, allocations: 3.741 MB / 419.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.145, allocations: 4 kB / 419.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.145, allocations: 4 kB / 419.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.017e-05/0.1451, allocations: 0 / 419.1 MB, free: 12.89 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.005881/0.1509, allocations: 2.731 MB / 421.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.151, allocations: 8.031 kB / 421.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003743/0.1514, allocations: 270.6 kB / 422.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007126/0.1521, allocations: 287.2 kB / 422.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.1546, allocations: 1.319 MB / 423.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1547, allocations: 139.7 kB / 423.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.1549, allocations: 195.9 kB / 424 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.1587, allocations: 2.436 MB / 426.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.395e-05/0.1588, allocations: 11.89 kB / 426.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.159, allocations: 76 kB / 426.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.1591, allocations: 95.67 kB / 426.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.1625, allocations: 1.978 MB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.1744, allocations: 7.337 MB / 436 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.1764, allocations: 1.296 MB / 437.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.1778, allocations: 0.8268 MB / 438.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.1781, allocations: 118.1 kB / 438.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.1792, allocations: 0.6797 MB / 438.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.645e-06/0.1792, allocations: 4 kB / 438.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01546/0.1946, allocations: 7.392 MB / 446.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.1947, allocations: 196.9 kB / 446.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.1967, allocations: 1.418 MB / 447.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.641e-05/0.1968, allocations: 45.7 kB / 447.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008723/0.1976, allocations: 0.9545 MB / 448.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.198, allocations: 436.3 kB / 449.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.1984, allocations: 251.5 kB / 449.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1986, allocations: 361.9 kB / 449.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.1996, allocations: 0.6363 MB / 450.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.2009, allocations: 1.007 MB / 451.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.2033, allocations: 1.7 MB / 453.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2034, allocations: 4 kB / 453.2 MB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004012/0.2074, allocations: 2.34 MB / 455.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.2074, allocations: 11.91 kB / 455.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.2074, allocations: 12 kB / 455.6 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.2086, allocations: 0.4884 MB / 456.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2096, allocations: 303.5 kB / 456.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1888/0.3984, allocations: 7.177 MB / 463.6 MB, free: 61.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.3999, allocations: 97.86 kB / 463.7 MB, free: 61.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4, allocations: 53 kB / 463.7 MB, free: 61.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001362/0.4014, allocations: 0.629 MB / 464.4 MB, free: 60.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.4017, allocations: 163.7 kB / 464.5 MB, free: 60.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.4052, allocations: 2.13 MB / 466.6 MB, free: 60.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4052, allocations: 12.16 kB / 466.7 MB, free: 60.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.4052, allocations: 12.31 kB / 466.7 MB, free: 60.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4052, allocations: 9.391 kB / 466.7 MB, free: 60.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007358/0.4126, allocations: 4.525 MB / 471.2 MB, free: 58.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4126, allocations: 7.031 kB / 471.2 MB, free: 58.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.4133, allocations: 187.4 kB / 471.4 MB, free: 58.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4147, allocations: 0.5343 MB / 471.9 MB, free: 58.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.4147, allocations: 36.91 kB / 472 MB, free: 58.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006098/0.4208, allocations: 8.722 MB / 480.7 MB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.4208, allocations: 12.38 kB / 480.7 MB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/0.4248, allocations: 3.09 MB / 483.8 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008109/0.4256, allocations: 381.5 kB / 484.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.4258, allocations: 31.42 kB / 484.2 MB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.4265, allocations: 69.3 kB / 484.3 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.4267, allocations: 109 kB / 484.4 MB, free: 50.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.4268, allocations: 40.12 kB / 484.4 MB, free: 50.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.428, allocations: 0.9743 MB / 485.4 MB, free: 49.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.428, allocations: 0 / 485.4 MB, free: 49.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001489/0.4295, allocations: 452 kB / 485.8 MB, free: 49.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (105): * Single equations (assignments): 98 * 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.005157/0.4346, allocations: 4.04 MB / 489.9 MB, free: 47.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.4373, allocations: 2.186 MB / 492 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4373, allocations: 0.625 kB / 492 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.439, allocations: 1.461 MB / 493.5 MB, free: 44.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4406, allocations: 420.3 kB / 493.9 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.4579, allocations: 16.2 MB / 0.4982 GB, free: 27.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000937/0.4588, allocations: 1.702 MB / 0.4998 GB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008035/0.4596, allocations: 325 kB / 0.5001 GB, free: 25.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/0.4603, allocations: 0.7453 MB / 0.5009 GB, free: 24.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4603, allocations: 0 / 0.5009 GB, free: 24.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.5721, allocations: 41.71 MB / 0.5416 GB, free: 14.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.9, allocations: 14.05 kB / 0.5416 GB, free: 14.92 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 44.98557855794206]